Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.00115/0.00115, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.366/1.366, allocations: 222.9 MB / 241.2 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1696/0.1696, allocations: 38.02 MB / 329.4 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.33 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1203, allocations: 58.06 MB / 456.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006945/0.1273, allocations: 5.162 MB / 461.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.1299, allocations: 1.581 MB / 463.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.1302, allocations: 23.88 kB / 463.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008169/0.1311, allocations: 278.9 kB / 463.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.1316, allocations: 262.9 kB / 463.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.1322, allocations: 231.6 kB / 463.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006502/0.1329, allocations: 0.6625 MB / 464.5 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.1333, allocations: 260.3 kB / 464.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.1337, allocations: 298.8 kB / 465.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.1342, allocations: 434.8 kB / 465.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.1343, allocations: 44 kB / 465.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.1347, allocations: 235.6 kB / 465.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.1349, allocations: 251.3 kB / 466 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.1352, allocations: 290.6 kB / 466.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006981/0.1359, allocations: 0.7398 MB / 467 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1359, allocations: 4 kB / 467 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1359, allocations: 0 / 467 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.136, allocations: 0 / 467 MB, free: 13.66 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001463/0.1374, allocations: 0.8806 MB / 467.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1375, allocations: 11.89 kB / 467.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005588/0.138, allocations: 100.1 kB / 468 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.1386, allocations: 416 kB / 468.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.1386, allocations: 25.38 kB / 468.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.1387, allocations: 48.11 kB / 468.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1399, allocations: 0.8667 MB / 469.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.1399, allocations: 3.906 kB / 469.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.14, allocations: 23.98 kB / 469.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.1401, allocations: 56.95 kB / 469.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1413, allocations: 0.7963 MB / 470.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/0.1446, allocations: 2.729 MB / 473 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008643/0.1455, allocations: 0.572 MB / 473.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.146, allocations: 454.7 kB / 474 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.1461, allocations: 7.984 kB / 474 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1461, allocations: 38.56 kB / 474 MB, free: 6.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.164e-06/0.1461, allocations: 0 / 474 MB, free: 6.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.002762/0.1489, allocations: 1.879 MB / 475.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.149, allocations: 146.9 kB / 476.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.1493, allocations: 288.5 kB / 476.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.1493, allocations: 33.7 kB / 476.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1495, allocations: 264.2 kB / 476.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.1497, allocations: 185.3 kB / 476.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.1499, allocations: 98.02 kB / 476.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1501, allocations: 358.7 kB / 477.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.1506, allocations: 340.9 kB / 477.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.1511, allocations: 485.8 kB / 478.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.1523, allocations: 0.9837 MB / 479.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1523, allocations: 4 kB / 479.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001403/0.1537, allocations: 0.9729 MB / 480 MB, free: 100 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/0.1538, allocations: 77.59 kB / 480.1 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.1538, allocations: 7.984 kB / 480.1 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.1541, allocations: 40.83 kB / 480.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.1545, allocations: 87.83 kB / 480.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.1558, allocations: 1.555 MB / 481.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.1561, allocations: 40.03 kB / 481.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.1562, allocations: 24 kB / 481.9 MB, free: 14.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003738/0.1566, allocations: 295.3 kB / 482.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1567, allocations: 43.53 kB / 482.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.1582, allocations: 1.084 MB / 483.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/0.1582, allocations: 15.98 kB / 483.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1582, allocations: 7.938 kB / 483.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1583, allocations: 0 / 483.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.1606, allocations: 1.8 MB / 485.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1607, allocations: 0 / 485.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.1609, allocations: 51.91 kB / 485.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.161, allocations: 45.03 kB / 485.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.1611, allocations: 11.98 kB / 485.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.1623, allocations: 1.547 MB / 486.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1623, allocations: 0 / 486.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.1638, allocations: 1.179 MB / 487.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.164, allocations: 176.5 kB / 488.1 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-05/0.1641, allocations: 12 kB / 488.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.1644, allocations: 31.95 kB / 488.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.1645, allocations: 43.89 kB / 488.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.1646, allocations: 16 kB / 488.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1648, allocations: 203.1 kB / 488.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1648, allocations: 4 kB / 488.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005669/0.1653, allocations: 144 kB / 488.5 MB, free: 7.129 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002566/0.1656, allocations: 143.3 kB / 488.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.1675, allocations: 1.491 MB / 490.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1675, allocations: 0 / 490.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009862/0.1685, allocations: 0.9241 MB / 491.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.1691, allocations: 80.72 kB / 491.2 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.1711, allocations: 1.616 MB / 492.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.1717, allocations: 0.9053 MB / 493.7 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002736/0.172, allocations: 103.2 kB / 493.8 MB, free: 1.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.1721, allocations: 27.44 kB / 493.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1721, allocations: 0 / 493.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of Templates: time 0.01059/0.1827, allocations: 5.966 MB / 499.8 MB, free: 11.79 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)