Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002634/0.002641, allocations: 188.3 kB / 15.77 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001131, allocations: 90.81 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2697/0.2697, allocations: 38.07 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004779, allocations: 8 kB / 422.7 MB, free: 26.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1071, allocations: 56.33 MB / 479 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.00578/0.1129, allocations: 3.538 MB / 482.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.1169, allocations: 1.755 MB / 484.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.1172, allocations: 15.94 kB / 484.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.1174, allocations: 51.67 kB / 484.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.1185, allocations: 235.2 kB / 484.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.119, allocations: 111.7 kB / 484.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004631/0.1195, allocations: 215.5 kB / 484.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.1206, allocations: 418.4 kB / 485.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.1211, allocations: 139.5 kB / 485.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.1214, allocations: 123.6 kB / 485.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.1214, allocations: 15.94 kB / 485.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007469/0.1222, allocations: 219.6 kB / 485.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.1224, allocations: 123.7 kB / 486 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1225, allocations: 77.58 kB / 486 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007354/0.1232, allocations: 355.2 kB / 486.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.1233, allocations: 0 / 486.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1233, allocations: 4 kB / 486.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1233, allocations: 0 / 486.4 MB, free: 10.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001043/0.1244, allocations: 0.5534 MB / 486.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1244, allocations: 12.03 kB / 486.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.1262, allocations: 147.4 kB / 487.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.1268, allocations: 279.5 kB / 487.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.1269, allocations: 24.53 kB / 487.4 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.127, allocations: 24 kB / 487.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.1281, allocations: 431.6 kB / 487.8 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.1281, allocations: 7.844 kB / 487.8 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.1282, allocations: 12 kB / 487.8 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.671e-05/0.1283, allocations: 28.5 kB / 487.9 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1293, allocations: 425.9 kB / 488.3 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.1329, allocations: 1.71 MB / 490 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.1335, allocations: 294.6 kB / 490.3 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/0.1336, allocations: 12.23 kB / 490.3 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.1336, allocations: 38.7 kB / 490.3 MB, free: 6.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.845e-06/0.1337, allocations: 0 / 490.3 MB, free: 6.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.002865/0.1365, allocations: 0.7735 MB / 491.1 MB, free: 5.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.1366, allocations: 97.12 kB / 491.2 MB, free: 5.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.1369, allocations: 206.8 kB / 491.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.137, allocations: 33.7 kB / 491.4 MB, free: 5.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.1372, allocations: 246.4 kB / 491.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.1373, allocations: 70.91 kB / 491.8 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.1373, allocations: 11.94 kB / 491.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1375, allocations: 318.8 kB / 492.1 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.1377, allocations: 108.5 kB / 492.2 MB, free: 4.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.1381, allocations: 201 kB / 492.4 MB, free: 4.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.1385, allocations: 141.1 kB / 492.5 MB, free: 4.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1385, allocations: 0 / 492.5 MB, free: 4.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001226/0.1397, allocations: 425.8 kB / 492.9 MB, free: 3.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.1398, allocations: 8 kB / 492.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1398, allocations: 4 kB / 492.9 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.1404, allocations: 89.19 kB / 493 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.1409, allocations: 59.91 kB / 493.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.1439, allocations: 1.826 MB / 494.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.1443, allocations: 15.98 kB / 494.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.1444, allocations: 19.98 kB / 494.9 MB, free: 1.527 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002798/0.1447, allocations: 173.8 kB / 495.1 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.1447, allocations: 23.72 kB / 495.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.1459, allocations: 384 kB / 495.5 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.146, allocations: 4 kB / 495.5 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.146, allocations: 0 / 495.5 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.146, allocations: 4 kB / 495.5 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.1483, allocations: 0.9179 MB / 496.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.1483, allocations: 0 / 496.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.1486, allocations: 39.92 kB / 496.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.1491, allocations: 68.8 kB / 496.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.1492, allocations: 11.98 kB / 496.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/0.1518, allocations: 1.733 MB / 498.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1518, allocations: 0 / 498.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.153, allocations: 495.5 kB / 498.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1532, allocations: 100.8 kB / 498.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.1532, allocations: 7.984 kB / 498.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.1535, allocations: 8 kB / 498.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.1536, allocations: 24.11 kB / 498.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.1536, allocations: 8 kB / 498.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.1538, allocations: 156.4 kB / 499.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1538, allocations: 0 / 499.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007046/0.1545, allocations: 84 kB / 499.2 MB, free: 13.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/0.1547, allocations: 107.1 kB / 499.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.1559, allocations: 434.9 kB / 499.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1559, allocations: 0 / 499.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006899/0.1566, allocations: 274.6 kB / 500 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.157, allocations: 32.3 kB / 500 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.1587, allocations: 0.7686 MB / 0.489 GB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.1592, allocations: 0.8148 MB / 0.4898 GB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.1593, allocations: 23.44 kB / 0.4898 GB, free: 10.47 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1593, allocations: 0 / 0.4898 GB, free: 10.47 MB / 346.7 MB Notification: Performance of Templates: time 0.009772/0.1691, allocations: 4.24 MB / 0.494 GB, free: 6.227 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)