Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001751/0.001756, allocations: 189.5 kB / 15.77 MB, free: 5.988 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.028/2.028, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001126/0.001125, allocations: 86.81 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2838/0.2838, allocations: 38.05 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004606, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 56.32 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005327/0.115, allocations: 3.136 MB / 482.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.1183, allocations: 1.448 MB / 483.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.1185, allocations: 15.88 kB / 483.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.1188, allocations: 39.75 kB / 483.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008036/0.1196, allocations: 167.4 kB / 483.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.1201, allocations: 107.7 kB / 483.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.1204, allocations: 151.7 kB / 484.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008746/0.1213, allocations: 319 kB / 484.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.1217, allocations: 99.59 kB / 484.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1219, allocations: 87.72 kB / 484.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.1219, allocations: 8 kB / 484.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.1225, allocations: 167.6 kB / 484.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1227, allocations: 79.84 kB / 484.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.1228, allocations: 61.58 kB / 484.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.1233, allocations: 251.4 kB / 485.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1234, allocations: 4 kB / 485.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1234, allocations: 0 / 485.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1234, allocations: 0 / 485.1 MB, free: 11.87 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009197/0.1243, allocations: 490.5 kB / 485.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.1244, allocations: 12.02 kB / 485.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.1257, allocations: 107.5 kB / 485.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.1262, allocations: 250.6 kB / 486 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.1263, allocations: 12 kB / 486 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.1264, allocations: 19.98 kB / 486 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.1271, allocations: 317.6 kB / 486.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.1272, allocations: 0 / 486.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.1272, allocations: 4 kB / 486.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-05/0.1273, allocations: 19.98 kB / 486.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.128, allocations: 295.7 kB / 486.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.1308, allocations: 1.283 MB / 487.9 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.1316, allocations: 241 kB / 488.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.1317, allocations: 0 / 488.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.1317, allocations: 42.61 kB / 488.2 MB, free: 8.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 4.398e-06/0.1318, allocations: 0 / 488.2 MB, free: 8.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001288/0.1331, allocations: 437.2 kB / 488.6 MB, free: 8.152 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1331, allocations: 81.11 kB / 488.7 MB, free: 8.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.1335, allocations: 198.3 kB / 488.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.1335, allocations: 29.7 kB / 488.9 MB, free: 7.812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1336, allocations: 218.3 kB / 489.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/0.1337, allocations: 59.11 kB / 489.2 MB, free: 7.539 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.1338, allocations: 8 kB / 489.2 MB, free: 7.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1339, allocations: 318.8 kB / 489.5 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.1341, allocations: 83.95 kB / 489.6 MB, free: 7.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.1345, allocations: 165.4 kB / 489.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.1348, allocations: 107.9 kB / 489.9 MB, free: 6.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.1348, allocations: 8 kB / 489.9 MB, free: 6.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007038/0.1355, allocations: 285.2 kB / 490.1 MB, free: 6.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.1356, allocations: 4 kB / 490.1 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1356, allocations: 4 kB / 490.2 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.1356, allocations: 4 kB / 490.2 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.1361, allocations: 52.19 kB / 490.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.1361, allocations: 15.92 kB / 490.2 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.1364, allocations: 8 kB / 490.2 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.1364, allocations: 15.98 kB / 490.2 MB, free: 6.438 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.1366, allocations: 149.8 kB / 490.4 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.1367, allocations: 19.77 kB / 490.4 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/0.1373, allocations: 234.3 kB / 490.6 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1374, allocations: 0 / 490.6 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1374, allocations: 4 kB / 490.6 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1374, allocations: 4 kB / 490.6 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.1396, allocations: 0.9476 MB / 491.6 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.1397, allocations: 4 kB / 491.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.14, allocations: 40.41 kB / 491.6 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/0.14, allocations: 8 kB / 491.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.14, allocations: 11.95 kB / 491.7 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.1401, allocations: 8 kB / 491.7 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.1401, allocations: 7.938 kB / 491.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008135/0.1409, allocations: 0.5901 MB / 492.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.141, allocations: 96.91 kB / 492.4 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.1411, allocations: 16 kB / 492.4 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.1414, allocations: 7.984 kB / 492.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.1415, allocations: 27.88 kB / 492.4 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.1415, allocations: 8 kB / 492.4 MB, free: 3.969 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.1417, allocations: 151 kB / 492.6 MB, free: 3.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1417, allocations: 4 kB / 492.6 MB, free: 3.816 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005308/0.1423, allocations: 52 kB / 492.6 MB, free: 3.766 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.1424, allocations: 111.1 kB / 492.7 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005595/0.143, allocations: 207.6 kB / 492.9 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.143, allocations: 0.5625 kB / 492.9 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.1433, allocations: 103.8 kB / 493 MB, free: 3.344 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.1438, allocations: 43.81 kB / 493.1 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1453, allocations: 0.6868 MB / 493.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.1458, allocations: 0.7635 MB / 494.5 MB, free: 1.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.1459, allocations: 31.36 kB / 494.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1459, allocations: 7.938 kB / 494.6 MB, free: 1.703 MB / 330.7 MB Notification: Performance of Templates: time 0.007065/0.153, allocations: 2.572 MB / 497.1 MB, free: 15.12 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)