Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 110.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.001708/0.001708, allocations: 185.4 kB / 18.67 MB, free: 4.414 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.458/1.458, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1727/0.1727, allocations: 37.98 MB / 309.9 MB, free: 5.961 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.001555/0.001555, allocations: 67.91 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1039, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003758/0.1077, allocations: 2.052 MB / 489.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008448/0.1085, allocations: 0.562 MB / 490.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.1086, allocations: 0 / 490.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.1088, allocations: 11.92 kB / 490.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.534e-05/0.1089, allocations: 35.83 kB / 490.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.1093, allocations: 55.86 kB / 490.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1094, allocations: 71.69 kB / 490.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.1095, allocations: 0 / 490.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1096, allocations: 31.91 kB / 490.6 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.1097, allocations: 27.84 kB / 490.6 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1097, allocations: 3.938 kB / 490.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.1099, allocations: 75.83 kB / 490.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.11, allocations: 31.92 kB / 490.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.1101, allocations: 35.67 kB / 490.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1103, allocations: 119.6 kB / 490.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1103, allocations: 7.938 kB / 490.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1103, allocations: 0 / 490.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1103, allocations: 0 / 490.9 MB, free: 5.203 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004996/0.1108, allocations: 432.8 kB / 491.3 MB, free: 4.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1109, allocations: 11.89 kB / 491.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.1109, allocations: 12.75 kB / 491.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1111, allocations: 184.2 kB / 491.5 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.1112, allocations: 4.375 kB / 491.5 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1112, allocations: 8.125 kB / 491.5 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1114, allocations: 89.67 kB / 491.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1114, allocations: 0 / 491.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1114, allocations: 0 / 491.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1114, allocations: 0 / 491.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.13e-05/0.1115, allocations: 59.97 kB / 491.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.1117, allocations: 181.5 kB / 491.9 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1118, allocations: 102.7 kB / 492 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.1119, allocations: 89 kB / 492.1 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.1119, allocations: 0 / 492.1 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.112, allocations: 34.56 kB / 492.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/0.112, allocations: 0 / 492.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004291/0.1124, allocations: 306.9 kB / 492.4 MB, free: 3.539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.1125, allocations: 97.09 kB / 492.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1126, allocations: 141.8 kB / 492.6 MB, free: 3.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1126, allocations: 25.7 kB / 492.6 MB, free: 3.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.1127, allocations: 88.58 kB / 492.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.1127, allocations: 82.73 kB / 492.8 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.1128, allocations: 25.7 kB / 492.8 MB, free: 3.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1129, allocations: 330.8 kB / 493.2 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.113, allocations: 55.98 kB / 493.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.475e-05/0.1131, allocations: 56.58 kB / 493.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.1133, allocations: 256.1 kB / 493.5 MB, free: 2.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1133, allocations: 0 / 493.5 MB, free: 2.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000232/0.1135, allocations: 223.1 kB / 493.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.1136, allocations: 69.66 kB / 493.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1136, allocations: 0 / 493.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1136, allocations: 0 / 493.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1136, allocations: 0 / 493.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1136, allocations: 3.938 kB / 493.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.1137, allocations: 7.906 kB / 493.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.1137, allocations: 12 kB / 493.8 MB, free: 2.008 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001503/0.1139, allocations: 191.5 kB / 494 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.1139, allocations: 19.75 kB / 494 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.1139, allocations: 13.17 kB / 494 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1139, allocations: 0 / 494 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1139, allocations: 0 / 494 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.114, allocations: 92.86 kB / 494.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.114, allocations: 4 kB / 494.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.589e-05/0.1141, allocations: 4 kB / 494.1 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.1141, allocations: 7.984 kB / 494.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006614/0.1148, allocations: 0.7202 MB / 494.9 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005552/0.1153, allocations: 0.6445 MB / 495.5 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000325/0.1157, allocations: 395.9 kB / 495.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.1157, allocations: 103.2 kB / 496 MB, free: 15.75 MB / 382.1 MB Notification: Performance of Backend: time 3e-07/0.1157, allocations: 0 / 496 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008378/0.1166, allocations: 0.6696 MB / 496.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007772/0.1174, allocations: 0.8785 MB / 497.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of Templates: time 0.004858/0.1222, allocations: 1.952 MB / 499.5 MB, free: 12.16 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)