Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 112.3 kB / 17.74 MB, free: 5.336 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.00212/0.00212, allocations: 187 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1746/0.1746, allocations: 37.99 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 63.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1168, allocations: 55.25 MB / 487.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005734/0.1226, allocations: 3.478 MB / 491.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.1252, allocations: 1.571 MB / 492.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.1255, allocations: 7.938 kB / 492.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009235/0.1265, allocations: 251.5 kB / 493.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008551/0.1274, allocations: 282.9 kB / 493.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.1278, allocations: 123.6 kB / 493.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005998/0.1284, allocations: 347 kB / 493.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.1288, allocations: 141.8 kB / 494 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.1291, allocations: 151.4 kB / 494.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.1295, allocations: 151.5 kB / 494.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.1295, allocations: 16 kB / 494.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006301/0.1301, allocations: 323.2 kB / 494.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1303, allocations: 91.77 kB / 494.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1305, allocations: 127.4 kB / 494.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.1312, allocations: 351 kB / 495.1 MB, free: 0.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1312, allocations: 3.938 kB / 495.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1312, allocations: 0 / 495.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1312, allocations: 0 / 495.1 MB, free: 0.9531 MB / 366.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.0009225/0.1321, allocations: 0.5142 MB / 495.7 MB, free: 400 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1322, allocations: 11.89 kB / 495.7 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.1333, allocations: 104.5 kB / 495.8 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.1337, allocations: 283.8 kB / 496 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1338, allocations: 8.375 kB / 496.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.1338, allocations: 16.38 kB / 496.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.1344, allocations: 341.6 kB / 496.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1344, allocations: 3.938 kB / 496.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.1344, allocations: 8 kB / 496.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/0.1345, allocations: 19.98 kB / 496.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.135, allocations: 307.7 kB / 496.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.1368, allocations: 1.256 MB / 498 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.1371, allocations: 161 kB / 498.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1373, allocations: 105.7 kB / 498.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.1373, allocations: 4 kB / 498.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1374, allocations: 38.48 kB / 498.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.194e-06/0.1374, allocations: 0 / 498.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001653/0.139, allocations: 0.6699 MB / 499 MB, free: 12.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.1391, allocations: 77.23 kB / 499 MB, free: 12.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1393, allocations: 198.4 kB / 499.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.1394, allocations: 25.7 kB / 499.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1395, allocations: 155.9 kB / 499.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/0.1396, allocations: 63.09 kB / 499.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.1397, allocations: 49.7 kB / 499.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1398, allocations: 326.8 kB / 499.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.14, allocations: 83.88 kB / 499.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.1401, allocations: 152.5 kB / 0.4883 GB, free: 11.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.1405, allocations: 256.4 kB / 0.4886 GB, free: 11.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1405, allocations: 0 / 0.4886 GB, free: 11.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006612/0.1412, allocations: 353.8 kB / 0.4889 GB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1412, allocations: 4 kB / 0.4889 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1412, allocations: 4 kB / 0.4889 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/0.1416, allocations: 92.78 kB / 0.489 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1418, allocations: 40.19 kB / 0.4891 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.1445, allocations: 2.166 MB / 0.4912 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.1447, allocations: 15.98 kB / 0.4912 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.1447, allocations: 12 kB / 0.4912 GB, free: 8.566 MB / 382.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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.1449, allocations: 157.7 kB / 0.4914 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.145, allocations: 19.81 kB / 0.4914 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/0.1457, allocations: 320 kB / 0.4917 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1457, allocations: 7.984 kB / 0.4917 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.1457, allocations: 0 / 0.4917 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1457, allocations: 0 / 0.4917 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.1469, allocations: 0.7503 MB / 0.4924 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1469, allocations: 0 / 0.4924 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.147, allocations: 27.98 kB / 0.4924 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003052/0.1474, allocations: 76.91 kB / 0.4925 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.1474, allocations: 12.06 kB / 0.4925 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.1495, allocations: 2.025 MB / 0.4945 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.1495, allocations: 8.016 kB / 0.4945 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005962/0.1501, allocations: 418.6 kB / 0.4949 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.1502, allocations: 100.8 kB / 0.495 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.1502, allocations: 4 kB / 0.495 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.1503, allocations: 8 kB / 0.495 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.1504, allocations: 19.97 kB / 0.495 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.1504, allocations: 8 kB / 0.4951 GB, free: 4.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1505, allocations: 140.3 kB / 0.4952 GB, free: 4.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1506, allocations: 0 / 0.4952 GB, free: 4.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004732/0.151, allocations: 68 kB / 0.4952 GB, free: 4.152 MB / 382.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/0.1512, allocations: 99.19 kB / 0.4953 GB, free: 4.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007403/0.1519, allocations: 382.2 kB / 0.4957 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.152, allocations: 0 / 0.4957 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.1524, allocations: 267.2 kB / 0.496 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.1528, allocations: 47.84 kB / 0.496 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.1537, allocations: 0.5236 MB / 0.4965 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.1542, allocations: 0.7636 MB / 0.4973 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.1542, allocations: 23.42 kB / 0.4973 GB, free: 1.957 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1542, allocations: 0 / 0.4973 GB, free: 1.957 MB / 382.1 MB Notification: Performance of Templates: time 0.006552/0.1608, allocations: 3.554 MB / 0.5008 GB, free: 14.39 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)