Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.002174/0.002174, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.57/1.57, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3997/0.3997, allocations: 38.05 MB / 309.7 MB, free: 8.906 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.0006066/0.000607, allocations: 14.19 kB / 376.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1357, allocations: 56.35 MB / 432.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004555/0.1403, allocations: 3.528 MB / 436.4 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1427, allocations: 1.747 MB / 438.1 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.1429, allocations: 11.94 kB / 438.1 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1431, allocations: 55.69 kB / 438.2 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000632/0.1438, allocations: 227.2 kB / 438.4 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1441, allocations: 119.6 kB / 438.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.1444, allocations: 223.5 kB / 438.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008132/0.1453, allocations: 406.5 kB / 439.1 MB, free: 388 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.1455, allocations: 151.4 kB / 439.3 MB, free: 236 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1457, allocations: 115.6 kB / 439.4 MB, free: 120 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1457, allocations: 12 kB / 439.4 MB, free: 108 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000444/0.1462, allocations: 231.5 kB / 439.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1463, allocations: 123.7 kB / 439.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.1464, allocations: 77.58 kB / 439.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.1468, allocations: 351.2 kB / 440.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1469, allocations: 0 / 440.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1469, allocations: 4 kB / 440.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1469, allocations: 0 / 440.2 MB, free: 15.33 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007699/0.1477, allocations: 0.5457 MB / 440.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1477, allocations: 12.03 kB / 440.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.149, allocations: 151.4 kB / 440.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1494, allocations: 282.5 kB / 441.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.1494, allocations: 20.5 kB / 441.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.1495, allocations: 28 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.1502, allocations: 427.6 kB / 441.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.1502, allocations: 11.94 kB / 441.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.1503, allocations: 11.94 kB / 441.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.1503, allocations: 24.56 kB / 441.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.1509, allocations: 421.9 kB / 442.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.1532, allocations: 1.718 MB / 443.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.1536, allocations: 294.6 kB / 444.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.1536, allocations: 4.25 kB / 444.1 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1536, allocations: 42.69 kB / 444.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.684e-06/0.1536, allocations: 0 / 444.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001717/0.1554, allocations: 0.7851 MB / 444.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.1554, allocations: 81.23 kB / 445 MB, free: 10.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1556, allocations: 210.9 kB / 445.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1557, allocations: 33.7 kB / 445.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1558, allocations: 184 kB / 445.4 MB, free: 9.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.1559, allocations: 78.89 kB / 445.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.1559, allocations: 4 kB / 445.5 MB, free: 9.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.156, allocations: 330.8 kB / 445.8 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.1562, allocations: 104.4 kB / 445.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.1564, allocations: 205 kB / 446.1 MB, free: 8.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.1566, allocations: 141.1 kB / 446.2 MB, free: 8.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1566, allocations: 4 kB / 446.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006976/0.1573, allocations: 429.7 kB / 446.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1574, allocations: 8 kB / 446.7 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.1574, allocations: 7.938 kB / 446.7 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003634/0.1578, allocations: 85.2 kB / 446.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.158, allocations: 59.89 kB / 446.8 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.16, allocations: 1.826 MB / 448.7 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.1602, allocations: 19.92 kB / 448.7 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.1602, allocations: 16 kB / 448.7 MB, free: 6.242 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.1604, allocations: 177.8 kB / 448.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.1605, allocations: 15.81 kB / 448.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/0.1612, allocations: 379.9 kB / 449.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1612, allocations: 4 kB / 449.3 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1612, allocations: 3.984 kB / 449.3 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1612, allocations: 4 kB / 449.3 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.1627, allocations: 0.902 MB / 450.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1627, allocations: 8 kB / 450.2 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1629, allocations: 43.97 kB / 450.2 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/0.1631, allocations: 64.8 kB / 450.3 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.1631, allocations: 4 kB / 450.3 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.1648, allocations: 1.748 MB / 452 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1648, allocations: 8 kB / 452 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.1655, allocations: 499.8 kB / 452.5 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.1656, allocations: 93.05 kB / 452.6 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.1656, allocations: 11.95 kB / 452.6 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.1657, allocations: 7.984 kB / 452.6 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.1658, allocations: 23.95 kB / 452.7 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1658, allocations: 8 kB / 452.7 MB, free: 1.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1659, allocations: 148.4 kB / 452.8 MB, free: 1.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1659, allocations: 4 kB / 452.8 MB, free: 1.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.1664, allocations: 84 kB / 452.9 MB, free: 1.727 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 (22): * Single equations (assignments): 20 * 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: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001277/0.1665, allocations: 103.2 kB / 453 MB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007314/0.1673, allocations: 435.2 kB / 453.4 MB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1673, allocations: 0 / 453.4 MB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.1677, allocations: 278.8 kB / 453.7 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.168, allocations: 31.97 kB / 453.7 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1691, allocations: 0.7205 MB / 454.4 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2151/0.3842, allocations: 0.8049 MB / 455.3 MB, free: 50.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.3845, allocations: 54.72 kB / 455.3 MB, free: 50.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.3846, allocations: 21.34 kB / 455.3 MB, free: 50.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3846, allocations: 0.5 kB / 455.3 MB, free: 50.24 MB / 382.1 MB Notification: Performance of Templates: time 0.005629/0.3902, allocations: 2.706 MB / 458 MB, free: 50.16 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) Environment - environmentSimulation: