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.00151/0.00151, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001536/0.001536, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.451/1.451, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1765/0.1765, allocations: 38.03 MB / 329.3 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 65.36 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 58.06 MB / 456.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005113/0.1158, allocations: 3.705 MB / 459.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.118, allocations: 1.566 MB / 461.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.1181, allocations: 11.94 kB / 461.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.1189, allocations: 239.1 kB / 461.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.1194, allocations: 263.2 kB / 461.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.1197, allocations: 119.7 kB / 462 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005849/0.1203, allocations: 0.5573 MB / 462.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.1207, allocations: 142 kB / 462.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1209, allocations: 123.4 kB / 462.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.1212, allocations: 171.4 kB / 463 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1212, allocations: 12 kB / 463 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006292/0.1218, allocations: 407 kB / 463.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.122, allocations: 95.75 kB / 463.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1221, allocations: 99.42 kB / 463.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.1226, allocations: 390.8 kB / 464 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1226, allocations: 0 / 464 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1226, allocations: 0 / 464 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1226, allocations: 0 / 464 MB, free: 0.6211 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.0007889/0.1234, allocations: 0.5103 MB / 464.5 MB, free: 64 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1235, allocations: 12.03 kB / 464.5 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009307/0.1244, allocations: 88.64 kB / 464.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.1247, allocations: 270.6 kB / 464.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1248, allocations: 16.33 kB / 464.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.1248, allocations: 16.38 kB / 464.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.1254, allocations: 321.8 kB / 465.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1254, allocations: 0 / 465.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.1254, allocations: 8 kB / 465.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/0.1255, allocations: 19.98 kB / 465.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.126, allocations: 291.7 kB / 465.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.1278, allocations: 1.279 MB / 466.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.1282, allocations: 233.1 kB / 467 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1284, allocations: 97.72 kB / 467.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1284, allocations: 4 kB / 467.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1285, allocations: 38.56 kB / 467.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.1285, allocations: 0 / 467.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008684/0.1294, allocations: 439.3 kB / 467.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.1294, allocations: 81.11 kB / 467.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1297, allocations: 202.2 kB / 467.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1297, allocations: 29.7 kB / 467.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1298, allocations: 159.8 kB / 468.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.1299, allocations: 63.25 kB / 468.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.13, allocations: 53.7 kB / 468.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1302, allocations: 322.8 kB / 468.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1303, allocations: 91.94 kB / 468.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.1305, allocations: 150.2 kB / 468.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.1309, allocations: 270.3 kB / 469 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1309, allocations: 0 / 469 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004312/0.1313, allocations: 295.3 kB / 469.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1313, allocations: 4 kB / 469.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1314, allocations: 8.219 kB / 469.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1314, allocations: 8 kB / 469.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.1316, allocations: 55.91 kB / 469.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1316, allocations: 7.984 kB / 469.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1318, allocations: 11.98 kB / 469.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.1318, allocations: 11.94 kB / 469.4 MB, free: 10.88 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.0001377/0.1319, allocations: 149.8 kB / 469.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.132, allocations: 27.69 kB / 469.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.1324, allocations: 231.4 kB / 469.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1324, allocations: 0 / 469.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1324, allocations: 4 kB / 469.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1324, allocations: 0 / 469.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.1337, allocations: 0.9518 MB / 470.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1337, allocations: 12.03 kB / 470.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1339, allocations: 43.91 kB / 470.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1339, allocations: 4 kB / 470.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.1339, allocations: 11.94 kB / 470.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.1339, allocations: 7.938 kB / 470.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.1339, allocations: 4 kB / 470.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.1344, allocations: 419.9 kB / 471.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.1345, allocations: 96.92 kB / 471.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.1345, allocations: 15.92 kB / 471.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1347, allocations: 8 kB / 471.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.1347, allocations: 31.86 kB / 471.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.1348, allocations: 12 kB / 471.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1349, allocations: 151 kB / 471.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1349, allocations: 0 / 471.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.1353, allocations: 56 kB / 471.6 MB, free: 8.465 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.0001144/0.1354, allocations: 99.19 kB / 471.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.1358, allocations: 215.7 kB / 471.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1358, allocations: 0 / 471.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1359, allocations: 101.3 kB / 472 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.1364, allocations: 40.05 kB / 472 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009902/0.1374, allocations: 0.6443 MB / 472.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.1378, allocations: 0.7635 MB / 473.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.138, allocations: 53.5 kB / 473.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.138, allocations: 19.44 kB / 473.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.138, allocations: 0 / 473.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of Templates: time 0.004596/0.1426, allocations: 1.785 MB / 475.3 MB, free: 4.641 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)