Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 105.6 kB / 16.5 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1793/0.1793, allocations: 38.03 MB / 329.3 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 65.8 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 58.06 MB / 456.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008443/0.1183, allocations: 7.357 MB / 463.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.1226, allocations: 2.345 MB / 465.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005557/0.1231, allocations: 47.69 kB / 465.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.1249, allocations: 0.6495 MB / 466.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008578/0.1257, allocations: 350.6 kB / 466.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1268, allocations: 367.3 kB / 467.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.1283, allocations: 1.497 MB / 468.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000963/0.1293, allocations: 494.9 kB / 469.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007205/0.1301, allocations: 366.4 kB / 469.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008158/0.1309, allocations: 0.5608 MB / 470.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.134e-05/0.131, allocations: 48 kB / 470.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005762/0.1316, allocations: 251.5 kB / 470.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.132, allocations: 407 kB / 470.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.1324, allocations: 402 kB / 471.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009539/0.1334, allocations: 0.989 MB / 472.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1334, allocations: 3.938 kB / 472.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1334, allocations: 0 / 472.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1334, allocations: 0 / 472.2 MB, free: 8.391 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001789/0.1352, allocations: 1.072 MB / 473.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1352, allocations: 8.031 kB / 473.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007302/0.136, allocations: 135.8 kB / 473.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.1368, allocations: 0.5204 MB / 473.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.1368, allocations: 58.38 kB / 474 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.1369, allocations: 80.12 kB / 474.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.1385, allocations: 1.13 MB / 475.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.1385, allocations: 3.938 kB / 475.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.1386, allocations: 36 kB / 475.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/0.1387, allocations: 49.98 kB / 475.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.14, allocations: 0.8662 MB / 476.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00638/0.1464, allocations: 5.063 MB / 481.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.1472, allocations: 427.7 kB / 481.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.1475, allocations: 217.7 kB / 481.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.1476, allocations: 11.98 kB / 481.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.1476, allocations: 38.56 kB / 481.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.1476, allocations: 0 / 481.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001893/0.1495, allocations: 1.068 MB / 483 MB, free: 13.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.1496, allocations: 85.06 kB / 483.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.1502, allocations: 0.4939 MB / 483.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.1503, allocations: 29.7 kB / 483.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.1507, allocations: 465.5 kB / 484 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.1509, allocations: 153.8 kB / 484.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.1511, allocations: 154.5 kB / 484.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1513, allocations: 366.9 kB / 484.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.1517, allocations: 237.9 kB / 484.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.1524, allocations: 0.6171 MB / 485.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.1536, allocations: 0.9379 MB / 486.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/0.1536, allocations: 4 kB / 486.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001367/0.155, allocations: 0.8958 MB / 487.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.155, allocations: 15.94 kB / 487.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.155, allocations: 12 kB / 487.4 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.155, allocations: 20 kB / 487.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/0.1558, allocations: 223.6 kB / 487.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/0.1558, allocations: 19.94 kB / 487.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.1563, allocations: 55.86 kB / 487.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.1563, allocations: 44 kB / 487.8 MB, free: 7.926 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003961/0.1567, allocations: 310.2 kB / 488.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.1568, allocations: 55.34 kB / 488.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009227/0.1577, allocations: 0.5563 MB / 488.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1578, allocations: 7.938 kB / 488.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1578, allocations: 0 / 488.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.1578, allocations: 11.98 kB / 488.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.16, allocations: 1.328 MB / 490 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.16, allocations: 4 kB / 490 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.1604, allocations: 107.9 kB / 490.1 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.1605, allocations: 7.938 kB / 490.1 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.1605, allocations: 8 kB / 490.1 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.1605, allocations: 7.984 kB / 490.2 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1605, allocations: 7.938 kB / 490.2 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.1613, allocations: 0.6445 MB / 490.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.1615, allocations: 128.5 kB / 490.9 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/0.1615, allocations: 11.94 kB / 490.9 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.1618, allocations: 23.97 kB / 491 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.1619, allocations: 31.95 kB / 491 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.1619, allocations: 20 kB / 491 MB, free: 4.504 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003507/0.1623, allocations: 330.8 kB / 491.3 MB, free: 4.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1623, allocations: 4 kB / 491.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007208/0.163, allocations: 160 kB / 491.5 MB, free: 4.023 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.0001658/0.1632, allocations: 111.1 kB / 491.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009317/0.1641, allocations: 0.6003 MB / 492.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1641, allocations: 0 / 492.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.1645, allocations: 240.2 kB / 492.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.1652, allocations: 111.3 kB / 492.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.1676, allocations: 1.691 MB / 494.2 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.1682, allocations: 0.9999 MB / 495.2 MB, free: 192 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005579/0.1687, allocations: 225 kB / 495.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.1689, allocations: 47.42 kB / 495.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1689, allocations: 0 / 495.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01038/0.1793, allocations: 5.304 MB / 0.4891 GB, free: 10.65 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)