Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 190.8 kB / 20.73 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1803/0.1803, allocations: 38.51 MB / 342.5 MB, free: 8.105 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 72.55 kB / 479.1 MB, free: 33.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1077, allocations: 61.25 MB / 0.5277 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01135/0.119, allocations: 7.521 MB / 0.5351 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005844/0.1249, allocations: 3.003 MB / 0.538 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000618/0.1255, allocations: 23.88 kB / 0.538 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.1279, allocations: 0.7973 MB / 0.5388 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.1299, allocations: 0.7038 MB / 0.5395 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.131, allocations: 363.2 kB / 0.5398 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.1329, allocations: 1.328 MB / 0.5411 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008815/0.1337, allocations: 0.5964 MB / 0.5417 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008383/0.1346, allocations: 0.5643 MB / 0.5422 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.1356, allocations: 0.6658 MB / 0.5429 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.1357, allocations: 72 kB / 0.543 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.1368, allocations: 0.4913 MB / 0.5434 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.1373, allocations: 470.7 kB / 0.5439 GB, free: 224 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006272/0.1379, allocations: 0.5093 MB / 0.5444 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.1399, allocations: 1.421 MB / 0.5458 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.1399, allocations: 4 kB / 0.5458 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1399, allocations: 0 / 0.5458 GB, free: 14.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.1399, allocations: 0 / 0.5458 GB, free: 14.28 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002582/0.1425, allocations: 1.288 MB / 0.547 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.1425, allocations: 15.89 kB / 0.5471 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.1439, allocations: 212.1 kB / 0.5473 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.1454, allocations: 0.7259 MB / 0.548 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/0.1454, allocations: 66.36 kB / 0.548 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.1457, allocations: 99.91 kB / 0.5481 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.1477, allocations: 1.111 MB / 0.5492 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.1477, allocations: 7.938 kB / 0.5492 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.1478, allocations: 35.98 kB / 0.5493 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/0.148, allocations: 69.95 kB / 0.5493 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.1496, allocations: 0.8821 MB / 0.5502 GB, free: 9.637 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006414/0.156, allocations: 4.075 MB / 0.5542 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.1567, allocations: 404.4 kB / 0.5545 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.1571, allocations: 253.6 kB / 0.5548 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.1571, allocations: 7.938 kB / 0.5548 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.1572, allocations: 38.56 kB / 0.5548 GB, free: 4.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.434e-06/0.1572, allocations: 0 / 0.5548 GB, free: 4.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004557/0.1617, allocations: 1.999 MB / 0.5568 GB, free: 2.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.1618, allocations: 89.48 kB / 0.5569 GB, free: 2.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007365/0.1625, allocations: 0.5694 MB / 0.5574 GB, free: 1.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.1626, allocations: 45.64 kB / 0.5575 GB, free: 1.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.1629, allocations: 483.7 kB / 0.5579 GB, free: 1.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.1631, allocations: 202.3 kB / 0.5581 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.1633, allocations: 142.6 kB / 0.5583 GB, free: 1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1635, allocations: 386.7 kB / 0.5586 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.164, allocations: 273.8 kB / 0.5589 GB, free: 352 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/0.1647, allocations: 0.5042 MB / 0.5594 GB, free: 15.73 MB / 430.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.1681, allocations: 1.4 MB / 0.5607 GB, free: 14.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1681, allocations: 4 kB / 0.5608 GB, free: 14.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002085/0.1701, allocations: 1.092 MB / 0.5618 GB, free: 13.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1702, allocations: 8 kB / 0.5618 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00134/0.1715, allocations: 0.7482 MB / 0.5626 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/0.1721, allocations: 162.5 kB / 0.5627 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.1727, allocations: 175.7 kB / 0.5629 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/0.1775, allocations: 4.865 MB / 0.5676 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/0.1782, allocations: 39.97 kB / 0.5677 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.1782, allocations: 28 kB / 0.5677 GB, free: 6.625 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000604/0.1788, allocations: 317.6 kB / 0.568 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.179, allocations: 79.41 kB / 0.5681 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.1801, allocations: 0.6395 MB / 0.5687 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1802, allocations: 4 kB / 0.5687 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.1802, allocations: 0 / 0.5687 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.1802, allocations: 3.984 kB / 0.5687 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.1828, allocations: 1.514 MB / 0.5702 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1828, allocations: 192 / 0.5702 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.1835, allocations: 131.8 kB / 0.5703 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.1835, allocations: 7.938 kB / 0.5703 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.1835, allocations: 16 kB / 0.5703 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.1835, allocations: 4 kB / 0.5703 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1835, allocations: 0 / 0.5703 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.1851, allocations: 0.9605 MB / 0.5713 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/0.1854, allocations: 184.7 kB / 0.5715 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.1856, allocations: 19.98 kB / 0.5715 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.1859, allocations: 19.98 kB / 0.5715 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.186, allocations: 40.33 kB / 0.5715 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.186, allocations: 16 kB / 0.5715 GB, free: 2.531 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006253/0.1867, allocations: 411 kB / 0.5719 GB, free: 2.125 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1867, allocations: 0 / 0.5719 GB, free: 2.125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001067/0.1877, allocations: 235.9 kB / 0.5722 GB, free: 1.895 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004031/0.1881, allocations: 143.1 kB / 0.5723 GB, free: 1.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00194/0.1901, allocations: 0.9911 MB / 0.5733 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1901, allocations: 0 / 0.5733 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.1905, allocations: 255.8 kB / 0.5735 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008538/0.1913, allocations: 159.7 kB / 0.5737 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.1951, allocations: 1.957 MB / 0.5756 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008816/0.1959, allocations: 1.075 MB / 0.5766 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006255/0.1966, allocations: 209.7 kB / 0.5768 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.1968, allocations: 63.42 kB / 0.5769 GB, free: 12.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1968, allocations: 0 / 0.5769 GB, free: 12.95 MB / 446.1 MB Notification: Performance of Templates: time 0.01984/0.2166, allocations: 8.971 MB / 0.5856 GB, free: 4.027 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0429931581020355]