Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.001365/0.001365, allocations: 124 kB / 17.79 MB, free: 5.266 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.0015/0.0015, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.537/1.537, allocations: 225.6 MB / 249.1 MB, free: 3.637 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.1784/0.1784, allocations: 38.5 MB / 342.5 MB, free: 8.051 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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 69.17 kB / 479.1 MB, free: 33.42 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1411, allocations: 61.25 MB / 0.5277 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005831/0.1469, allocations: 4.066 MB / 0.5317 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1485, allocations: 0.9076 MB / 0.5326 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1487, allocations: 15.88 kB / 0.5326 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.1489, allocations: 51.55 kB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000532/0.1494, allocations: 183 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1496, allocations: 91.83 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.1501, allocations: 406.6 kB / 0.5333 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1504, allocations: 86.27 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.1507, allocations: 187.2 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.1511, allocations: 215.2 kB / 0.5337 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.1511, allocations: 20 kB / 0.5338 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-05/0.1511, allocations: 20 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.1513, allocations: 107.7 kB / 0.5339 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.1515, allocations: 155.1 kB / 0.534 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.1519, allocations: 326.5 kB / 0.5343 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1519, allocations: 0 / 0.5343 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1519, allocations: 0 / 0.5343 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1519, allocations: 0 / 0.5343 GB, free: 10.05 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001195/0.1531, allocations: 0.6204 MB / 0.5349 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1532, allocations: 15.89 kB / 0.535 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.1532, allocations: 36.7 kB / 0.535 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.1537, allocations: 347.2 kB / 0.5353 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.1538, allocations: 24.92 kB / 0.5353 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.1538, allocations: 24.12 kB / 0.5354 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.1543, allocations: 316.5 kB / 0.5357 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1543, allocations: 4 kB / 0.5357 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.1544, allocations: 11.94 kB / 0.5357 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1544, allocations: 7.984 kB / 0.5357 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.1548, allocations: 217.5 kB / 0.5359 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.1565, allocations: 1.348 MB / 0.5372 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.1568, allocations: 137.2 kB / 0.5374 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.994e-05/0.1569, allocations: 53.75 kB / 0.5374 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1569, allocations: 0 / 0.5374 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.157, allocations: 42.56 kB / 0.5374 GB, free: 6.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.157, allocations: 0 / 0.5374 GB, free: 6.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008888/0.1579, allocations: 376.5 kB / 0.5378 GB, free: 6.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1579, allocations: 81.05 kB / 0.5379 GB, free: 6.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.1582, allocations: 255 kB / 0.5381 GB, free: 5.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.1582, allocations: 33.7 kB / 0.5382 GB, free: 5.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.1584, allocations: 204 kB / 0.5383 GB, free: 5.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.1584, allocations: 47.58 kB / 0.5384 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.1585, allocations: 49.78 kB / 0.5384 GB, free: 5.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1586, allocations: 338.8 kB / 0.5388 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1587, allocations: 55.95 kB / 0.5388 GB, free: 5.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.1589, allocations: 144.8 kB / 0.539 GB, free: 4.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.1592, allocations: 245.3 kB / 0.5392 GB, free: 4.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1592, allocations: 0 / 0.5392 GB, free: 4.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004076/0.1597, allocations: 241.2 kB / 0.5394 GB, free: 4.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1597, allocations: 11.94 kB / 0.5394 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1597, allocations: 448 / 0.5394 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.1597, allocations: 12 kB / 0.5394 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.1599, allocations: 47.91 kB / 0.5395 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1599, allocations: 4 kB / 0.5395 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.16, allocations: 11.98 kB / 0.5395 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.16, allocations: 8 kB / 0.5395 GB, free: 4.344 MB / 398.1 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 (25): * Single equations (assignments): 25 * 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.0001691/0.1602, allocations: 169.6 kB / 0.5397 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.1603, allocations: 27.8 kB / 0.5397 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.1606, allocations: 194.3 kB / 0.5399 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1606, allocations: 4 kB / 0.5399 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1606, allocations: 0 / 0.5399 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1606, allocations: 3.938 kB / 0.5399 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.1613, allocations: 0.5538 MB / 0.5404 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1614, allocations: 3.938 kB / 0.5404 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1615, allocations: 31.92 kB / 0.5405 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1615, allocations: 4 kB / 0.5405 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1615, allocations: 0 / 0.5405 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.1615, allocations: 11.97 kB / 0.5405 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1615, allocations: 0 / 0.5405 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.1619, allocations: 299.4 kB / 0.5408 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.162, allocations: 100.9 kB / 0.5409 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.162, allocations: 3.984 kB / 0.5409 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.1621, allocations: 11.94 kB / 0.5409 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.1621, allocations: 11.98 kB / 0.5409 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1622, allocations: 4 kB / 0.5409 GB, free: 2.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1623, allocations: 182 kB / 0.5411 GB, free: 2.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1623, allocations: 4 kB / 0.5411 GB, free: 2.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.1627, allocations: 48 kB / 0.5411 GB, free: 2.586 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * 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.0001383/0.1628, allocations: 95.36 kB / 0.5412 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.1631, allocations: 155.9 kB / 0.5414 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1631, allocations: 0 / 0.5414 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1632, allocations: 71.89 kB / 0.5414 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.1638, allocations: 56.84 kB / 0.5415 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1648, allocations: 0.5387 MB / 0.542 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.1653, allocations: 0.7907 MB / 0.5428 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.1655, allocations: 38.27 kB / 0.5428 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.1655, allocations: 31.36 kB / 0.5428 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1655, allocations: 0 / 0.5428 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Templates: time 0.0063/0.1718, allocations: 2.295 MB / 0.5451 GB, free: 14.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.847915745340288]