Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001584, allocations: 190.3 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 1.99/1.99, allocations: 205.4 MB / 221.9 MB, free: 13.69 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.001188/0.001188, allocations: 94.84 kB / 270.3 MB, free: 13.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2733/0.2733, allocations: 38.06 MB / 356.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1114, allocations: 56.33 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005359/0.1169, allocations: 3.121 MB / 482.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.1202, allocations: 1.483 MB / 483.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.1204, allocations: 11.94 kB / 483.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.1206, allocations: 39.77 kB / 483.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007748/0.1214, allocations: 179.4 kB / 483.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.1219, allocations: 103.7 kB / 484 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.1223, allocations: 151.7 kB / 484.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008662/0.1232, allocations: 319 kB / 484.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.1235, allocations: 111.5 kB / 484.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1237, allocations: 83.67 kB / 484.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.1238, allocations: 12 kB / 484.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.1243, allocations: 163.7 kB / 484.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.1245, allocations: 83.77 kB / 484.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.671e-05/0.1246, allocations: 61.64 kB / 484.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.1251, allocations: 243.5 kB / 485.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1251, allocations: 3.938 kB / 485.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1251, allocations: 0 / 485.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1252, allocations: 4 kB / 485.2 MB, free: 11.84 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.0009017/0.1261, allocations: 490.5 kB / 485.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1261, allocations: 8.031 kB / 485.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.1276, allocations: 119.5 kB / 485.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.1281, allocations: 254.6 kB / 486 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.1281, allocations: 12 kB / 486 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/0.1282, allocations: 16 kB / 486.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.129, allocations: 333.6 kB / 486.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.129, allocations: 0 / 486.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.1291, allocations: 8 kB / 486.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.144e-05/0.1291, allocations: 15.98 kB / 486.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008154/0.13, allocations: 315.6 kB / 486.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.1326, allocations: 1.264 MB / 488 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.133, allocations: 169 kB / 488.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.1331, allocations: 0 / 488.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1331, allocations: 38.61 kB / 488.2 MB, free: 8.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 4.258e-06/0.1331, allocations: 4 kB / 488.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.002398/0.1355, allocations: 0.6621 MB / 488.8 MB, free: 7.906 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.133e-05/0.1356, allocations: 81.11 kB / 488.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.1359, allocations: 190.2 kB / 489.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1359, allocations: 25.7 kB / 489.1 MB, free: 7.578 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.1361, allocations: 218.4 kB / 489.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.1362, allocations: 63.09 kB / 489.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.1362, allocations: 4 kB / 489.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1364, allocations: 327 kB / 489.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1366, allocations: 79.95 kB / 489.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.1369, allocations: 148.4 kB / 490 MB, free: 6.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.1372, allocations: 104 kB / 490.1 MB, free: 6.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1372, allocations: 0 / 490.1 MB, free: 6.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001066/0.1383, allocations: 357.3 kB / 490.4 MB, free: 6.258 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.1383, allocations: 4 kB / 490.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1384, allocations: 4 kB / 490.4 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005901/0.1389, allocations: 96.77 kB / 490.5 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.1393, allocations: 39.92 kB / 490.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/0.143, allocations: 2.026 MB / 492.6 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.1433, allocations: 20.05 kB / 492.6 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.1433, allocations: 8 kB / 492.6 MB, free: 3.91 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 (21): * Single equations (assignments): 20 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002327/0.1436, allocations: 157.7 kB / 492.8 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.1437, allocations: 23.75 kB / 492.8 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.1447, allocations: 316.1 kB / 493.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.1447, allocations: 8 kB / 493.1 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1447, allocations: 0 / 493.1 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.1447, allocations: 3.953 kB / 493.1 MB, free: 3.398 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.1468, allocations: 0.7812 MB / 493.9 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.1468, allocations: 8.047 kB / 493.9 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.147, allocations: 28.05 kB / 493.9 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.1475, allocations: 80.78 kB / 494 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.1476, allocations: 4 kB / 494 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.1506, allocations: 1.853 MB / 495.8 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.1507, allocations: 8.094 kB / 495.9 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.1517, allocations: 443.8 kB / 496.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1519, allocations: 100.8 kB / 496.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.1519, allocations: 11.92 kB / 496.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.1522, allocations: 8 kB / 496.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.1522, allocations: 11.98 kB / 496.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.1523, allocations: 15.92 kB / 496.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000184/0.1525, allocations: 144.1 kB / 496.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1525, allocations: 4 kB / 496.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006257/0.1531, allocations: 68 kB / 496.6 MB, free: 15.56 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 (16): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001422/0.1533, allocations: 95.19 kB / 496.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.1544, allocations: 378.8 kB / 497.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1544, allocations: 0 / 497.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006198/0.155, allocations: 252.3 kB / 497.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1554, allocations: 36.11 kB / 497.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1567, allocations: 0.6262 MB / 498 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.1572, allocations: 0.7716 MB / 498.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.1574, allocations: 19.44 kB / 498.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1574, allocations: 0 / 498.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of Templates: time 0.00852/0.1659, allocations: 3.398 MB / 0.4904 GB, free: 9.906 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)