Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 114.1 kB / 16.63 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.001596/0.001597, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.448/1.448, allocations: 222.9 MB / 241.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1767/0.1767, allocations: 38.02 MB / 329.4 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 61.22 kB / 398.3 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 58.06 MB / 456.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005287/0.1128, allocations: 3.706 MB / 460 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.1154, allocations: 1.555 MB / 461.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1156, allocations: 11.88 kB / 461.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009166/0.1166, allocations: 243.2 kB / 461.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.1172, allocations: 255.1 kB / 462.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1175, allocations: 111.8 kB / 462.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.1179, allocations: 350.9 kB / 462.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.1184, allocations: 145.9 kB / 462.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.1187, allocations: 155.4 kB / 462.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.119, allocations: 171.4 kB / 463 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1191, allocations: 12 kB / 463 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006169/0.1197, allocations: 335.1 kB / 463.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1198, allocations: 95.75 kB / 463.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1199, allocations: 107.5 kB / 463.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.1204, allocations: 378.9 kB / 463.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1205, allocations: 4 kB / 463.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1205, allocations: 0 / 463.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1205, allocations: 0 / 463.9 MB, free: 0.7617 MB / 334.1 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.0006681/0.1211, allocations: 0.522 MB / 464.4 MB, free: 196 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1212, allocations: 11.89 kB / 464.5 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009325/0.1221, allocations: 92.62 kB / 464.5 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.1225, allocations: 259.7 kB / 464.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1225, allocations: 16.33 kB / 464.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.1226, allocations: 20.34 kB / 464.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.1232, allocations: 318 kB / 465.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1232, allocations: 7.938 kB / 465.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.1233, allocations: 11.92 kB / 465.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.1233, allocations: 19.98 kB / 465.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.1237, allocations: 287.8 kB / 465.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.1255, allocations: 1.279 MB / 466.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.126, allocations: 229.1 kB / 467 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.1261, allocations: 101.7 kB / 467.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1262, allocations: 0 / 467.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1262, allocations: 34.55 kB / 467.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.076e-06/0.1262, allocations: 7.922 kB / 467.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008559/0.1271, allocations: 440.4 kB / 467.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.1271, allocations: 85.05 kB / 467.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1273, allocations: 198.3 kB / 467.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1274, allocations: 33.83 kB / 467.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1275, allocations: 159.8 kB / 468 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.1276, allocations: 55.2 kB / 468.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/0.1277, allocations: 45.69 kB / 468.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1278, allocations: 326.8 kB / 468.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.128, allocations: 83.95 kB / 468.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.1281, allocations: 162.2 kB / 468.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.1285, allocations: 264.3 kB / 468.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1285, allocations: 4 kB / 468.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004051/0.1289, allocations: 299.8 kB / 469.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1289, allocations: 4 kB / 469.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1289, allocations: 4 kB / 469.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1289, allocations: 7.938 kB / 469.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.1292, allocations: 51.91 kB / 469.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1292, allocations: 4 kB / 469.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1294, allocations: 11.98 kB / 469.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.1294, allocations: 15.98 kB / 469.3 MB, free: 11 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.1295, allocations: 157.9 kB / 469.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.1296, allocations: 19.72 kB / 469.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004338/0.13, allocations: 231.3 kB / 469.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.13, allocations: 4 kB / 469.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.13, allocations: 3.984 kB / 469.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1301, allocations: 0 / 469.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.1313, allocations: 0.9555 MB / 470.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1313, allocations: 4 kB / 470.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1315, allocations: 31.98 kB / 470.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1315, allocations: 4 kB / 470.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1315, allocations: 12 kB / 470.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.1316, allocations: 19.8 kB / 470.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1316, allocations: 4 kB / 470.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.132, allocations: 423.7 kB / 471.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.132, allocations: 104.9 kB / 471.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.1321, allocations: 8 kB / 471.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.1322, allocations: 15.92 kB / 471.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.1323, allocations: 15.98 kB / 471.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.1323, allocations: 19.88 kB / 471.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1325, allocations: 147 kB / 471.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1325, allocations: 4 kB / 471.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.1328, allocations: 52 kB / 471.5 MB, free: 8.594 MB / 350.1 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 (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.0001815/0.133, allocations: 103.2 kB / 471.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.1334, allocations: 219.6 kB / 471.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1334, allocations: 0.5625 kB / 471.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1335, allocations: 99.77 kB / 471.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.134, allocations: 42.55 kB / 472 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009503/0.1349, allocations: 0.6476 MB / 472.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.1354, allocations: 0.7632 MB / 473.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.1356, allocations: 65.47 kB / 473.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.1357, allocations: 15.44 kB / 473.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1357, allocations: 4 kB / 473.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of Templates: time 0.004473/0.1402, allocations: 1.862 MB / 475.3 MB, free: 4.676 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)