Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001628, allocations: 110.9 kB / 17.75 MB, free: 5.309 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.001754/0.001754, allocations: 190.6 kB / 18.68 MB, free: 4.387 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.424/1.424, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.173/0.173, allocations: 37.98 MB / 309.9 MB, free: 5.945 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.001686/0.001686, allocations: 75.88 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1009, allocations: 55.23 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003372/0.1043, allocations: 2.056 MB / 489.8 MB, free: 6.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009126/0.1053, allocations: 0.562 MB / 490.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.1054, allocations: 0 / 490.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1055, allocations: 11.92 kB / 490.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.1056, allocations: 27.84 kB / 490.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.106, allocations: 63.83 kB / 490.5 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1061, allocations: 71.7 kB / 490.6 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1062, allocations: 4 kB / 490.6 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.1063, allocations: 23.91 kB / 490.6 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.1063, allocations: 27.84 kB / 490.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.1063, allocations: 0 / 490.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.1065, allocations: 79.83 kB / 490.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.1066, allocations: 43.84 kB / 490.8 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.1067, allocations: 47.5 kB / 490.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1069, allocations: 151.5 kB / 490.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1069, allocations: 0 / 490.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1069, allocations: 0 / 490.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1069, allocations: 0 / 490.9 MB, free: 5.152 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005369/0.1075, allocations: 480.5 kB / 491.4 MB, free: 4.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.1075, allocations: 15.83 kB / 491.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.1076, allocations: 12.75 kB / 491.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.1078, allocations: 200.6 kB / 491.6 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1078, allocations: 7.938 kB / 491.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1079, allocations: 0 / 491.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.108, allocations: 126.6 kB / 491.8 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1081, allocations: 7.938 kB / 491.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1081, allocations: 0 / 491.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1081, allocations: 0 / 491.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1082, allocations: 96.28 kB / 491.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.1084, allocations: 205.9 kB / 492.1 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.1086, allocations: 154.9 kB / 492.2 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1087, allocations: 141.2 kB / 492.4 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.1087, allocations: 0 / 492.4 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1088, allocations: 34.55 kB / 492.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.082e-06/0.1088, allocations: 0 / 492.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006293/0.1094, allocations: 479.8 kB / 492.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.1095, allocations: 109.1 kB / 493 MB, free: 2.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1097, allocations: 150.5 kB / 493.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1097, allocations: 25.7 kB / 493.1 MB, free: 2.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.1097, allocations: 92.8 kB / 493.2 MB, free: 2.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1099, allocations: 134 kB / 493.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.1099, allocations: 33.7 kB / 493.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1101, allocations: 334.8 kB / 493.7 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1102, allocations: 95.95 kB / 493.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.1103, allocations: 91.97 kB / 493.9 MB, free: 1.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.1106, allocations: 369.4 kB / 494.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1106, allocations: 0 / 494.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003263/0.111, allocations: 323 kB / 494.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/0.1111, allocations: 81.64 kB / 494.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1111, allocations: 0 / 494.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1111, allocations: 4 kB / 494.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/0.1111, allocations: 4 kB / 494.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.1111, allocations: 3.984 kB / 494.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/0.1112, allocations: 23.69 kB / 494.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.1112, allocations: 4 kB / 494.7 MB, free: 1.121 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.0002008/0.1114, allocations: 239.4 kB / 494.9 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1115, allocations: 19.81 kB / 495 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.1115, allocations: 17.95 kB / 495 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1115, allocations: 0 / 495 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1115, allocations: 0 / 495 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.1116, allocations: 104.7 kB / 495.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1116, allocations: 4 kB / 495.1 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.549e-05/0.1116, allocations: 11.94 kB / 495.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.1117, allocations: 0 / 495.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001244/0.1129, allocations: 1.318 MB / 496.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009386/0.1139, allocations: 1.031 MB / 497.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007437/0.1146, allocations: 0.9803 MB / 498.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.543e-05/0.1147, allocations: 115.9 kB / 498.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of Backend: time 5.92e-07/0.1147, allocations: 3.938 kB / 498.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.1164, allocations: 1.466 MB / 0.4883 GB, free: 11.71 MB / 382.1 MB Notification: Performance of SimCode: time 0.001205/0.1176, allocations: 1.165 MB / 0.4894 GB, free: 10.49 MB / 382.1 MB Notification: Performance of Templates: time 0.005884/0.1235, allocations: 2.715 MB / 0.4921 GB, free: 7.77 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)