Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001054/0.001054, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.206/1.206, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001726/0.001726, allocations: 124.3 kB / 256.6 MB, free: 4.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1682/0.1682, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 67.84 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07826/0.07936, allocations: 52.18 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005298/0.0847, allocations: 5.216 MB / 459.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.08677, allocations: 1.536 MB / 460.7 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.08723, allocations: 31.81 kB / 460.8 MB, free: 9.754 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009718/0.08822, allocations: 374.7 kB / 461.1 MB, free: 9.387 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.0887, allocations: 235 kB / 461.4 MB, free: 9.156 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.08906, allocations: 147.7 kB / 461.5 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.08957, allocations: 0.865 MB / 462.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.08999, allocations: 268.8 kB / 462.6 MB, free: 7.887 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.09027, allocations: 227 kB / 462.9 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.09066, allocations: 311 kB / 463.2 MB, free: 7.359 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.09071, allocations: 20 kB / 463.2 MB, free: 7.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.09094, allocations: 127.8 kB / 463.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.0911, allocations: 191.5 kB / 463.5 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.09127, allocations: 210.9 kB / 463.7 MB, free: 6.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.09166, allocations: 0.4984 MB / 464.2 MB, free: 6.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.09167, allocations: 3.984 kB / 464.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.09168, allocations: 0 / 464.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.09169, allocations: 0 / 464.2 MB, free: 6.316 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009411/0.09264, allocations: 0.703 MB / 464.9 MB, free: 5.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.09268, allocations: 12.02 kB / 464.9 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.09319, allocations: 84.33 kB / 465 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.09371, allocations: 391.2 kB / 465.4 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.09374, allocations: 33.3 kB / 465.4 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.09386, allocations: 47.92 kB / 465.5 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.09438, allocations: 480.8 kB / 465.9 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.09441, allocations: 0 / 465.9 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.09445, allocations: 15.98 kB / 465.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.631e-05/0.09455, allocations: 28.98 kB / 466 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.09498, allocations: 351.7 kB / 466.3 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.09661, allocations: 1.725 MB / 468 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.09685, allocations: 153.1 kB / 468.2 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.097, allocations: 113.7 kB / 468.3 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.09703, allocations: 4.281 kB / 468.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.09706, allocations: 34.56 kB / 468.3 MB, free: 1.906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.09707, allocations: 4 kB / 468.3 MB, free: 1.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001248/0.09832, allocations: 0.8879 MB / 469.2 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.09836, allocations: 81.11 kB / 469.3 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.09858, allocations: 316.4 kB / 469.6 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.0986, allocations: 29.83 kB / 469.7 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.09869, allocations: 251.4 kB / 469.9 MB, free: 248 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.09873, allocations: 67.09 kB / 470 MB, free: 180 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-05/0.0988, allocations: 61.97 kB / 470 MB, free: 112 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.09891, allocations: 342.8 kB / 470.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.09906, allocations: 108.2 kB / 470.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.09928, allocations: 193.4 kB / 470.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.09965, allocations: 332.6 kB / 471 MB, free: 15.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09966, allocations: 0 / 471 MB, free: 15.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007931/0.1005, allocations: 473.6 kB / 471.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1005, allocations: 8 kB / 471.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005648/0.1011, allocations: 320.2 kB / 471.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004538/0.1015, allocations: 140.9 kB / 471.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.1017, allocations: 51.91 kB / 471.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.1041, allocations: 2.205 MB / 474.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1043, allocations: 15.92 kB / 474.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.1043, allocations: 16 kB / 474.2 MB, free: 11.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.1045, allocations: 189.7 kB / 474.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.1045, allocations: 23.72 kB / 474.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.1049, allocations: 270.4 kB / 474.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1049, allocations: 11.94 kB / 474.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.105, allocations: 4.062 kB / 474.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.105, allocations: 0 / 474.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.106, allocations: 0.739 MB / 475.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.106, allocations: 0 / 475.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.1062, allocations: 40.05 kB / 475.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.656e-05/0.1063, allocations: 36.83 kB / 475.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1064, allocations: 8 kB / 475.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1064, allocations: 0 / 475.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1064, allocations: 4 kB / 475.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.1091, allocations: 2.205 MB / 477.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1092, allocations: 108.8 kB / 477.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.1092, allocations: 11.94 kB / 477.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1094, allocations: 7.984 kB / 477.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.1094, allocations: 11.98 kB / 477.8 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1094, allocations: 4 kB / 477.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.1096, allocations: 223 kB / 478.1 MB, free: 7.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1096, allocations: 0 / 478.1 MB, free: 7.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005091/0.1101, allocations: 119.9 kB / 478.2 MB, free: 7.434 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.1103, allocations: 103.2 kB / 478.3 MB, free: 7.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006346/0.1109, allocations: 402.9 kB / 478.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1109, allocations: 192 / 478.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.1111, allocations: 177.9 kB / 478.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.1116, allocations: 61.8 kB / 478.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.1132, allocations: 1.311 MB / 480.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.1136, allocations: 0.8458 MB / 481.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.1138, allocations: 62.92 kB / 481.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.1138, allocations: 27.42 kB / 481.2 MB, free: 4.316 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1139, allocations: 4 kB / 481.2 MB, free: 4.312 MB / 330.7 MB Notification: Performance of Templates: time 0.007267/0.1211, allocations: 4.109 MB / 485.3 MB, free: 212 kB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)