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.001006/0.001006, allocations: 86.94 kB / 16.31 MB, free: 6.449 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.001304/0.001304, allocations: 180.8 kB / 17.21 MB, free: 6.32 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.406/1.406, allocations: 205.4 MB / 223.4 MB, free: 5.277 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.286/0.286, allocations: 38.06 MB / 309.7 MB, free: 9.16 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.000473/0.0004732, allocations: 20 kB / 376.5 MB, free: 15.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 56.34 MB / 432.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002432/0.1038, allocations: 1.717 MB / 434.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.1046, allocations: 0.5388 MB / 435.1 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.1047, allocations: 0 / 435.1 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.1048, allocations: 7.922 kB / 435.1 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/0.1049, allocations: 27.89 kB / 435.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1052, allocations: 51.88 kB / 435.2 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1054, allocations: 91.64 kB / 435.3 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.207e-05/0.1054, allocations: 4 kB / 435.3 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.1055, allocations: 31.84 kB / 435.3 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.1056, allocations: 31.91 kB / 435.4 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1056, allocations: 3.938 kB / 435.4 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1058, allocations: 39.94 kB / 435.4 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1058, allocations: 31.91 kB / 435.4 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.1059, allocations: 41.58 kB / 435.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.106, allocations: 67.98 kB / 435.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.106, allocations: 4 kB / 435.5 MB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.106, allocations: 0 / 435.5 MB, free: 4.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.106, allocations: 0 / 435.5 MB, free: 4.105 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.0004133/0.1065, allocations: 428.6 kB / 436 MB, free: 3.633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1065, allocations: 12.02 kB / 436 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1066, allocations: 15.77 kB / 436 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1068, allocations: 186.8 kB / 436.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1068, allocations: 0 / 436.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.1068, allocations: 4 kB / 436.2 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.107, allocations: 89.67 kB / 436.3 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.107, allocations: 0 / 436.3 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.107, allocations: 0 / 436.3 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.107, allocations: 0 / 436.3 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/0.1071, allocations: 59.94 kB / 436.3 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.1073, allocations: 177.5 kB / 436.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1074, allocations: 110.4 kB / 436.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.377e-05/0.1075, allocations: 80.88 kB / 436.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.1075, allocations: 8 kB / 436.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1076, allocations: 30.56 kB / 436.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.1076, allocations: 0 / 436.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004048/0.108, allocations: 300 kB / 437 MB, free: 2.453 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.1081, allocations: 101.1 kB / 437.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1082, allocations: 130 kB / 437.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1082, allocations: 29.7 kB / 437.3 MB, free: 2.164 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.1083, allocations: 96.59 kB / 437.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.1083, allocations: 74.83 kB / 437.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.1083, allocations: 0 / 437.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1084, allocations: 326.8 kB / 437.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.741e-05/0.1085, allocations: 55.98 kB / 437.8 MB, free: 1.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.367e-05/0.1086, allocations: 59.83 kB / 437.9 MB, free: 1.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.1087, allocations: 117.7 kB / 438 MB, free: 1.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1087, allocations: 3.984 kB / 438 MB, free: 1.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000229/0.1089, allocations: 223 kB / 438.2 MB, free: 1.195 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.109, allocations: 61.72 kB / 438.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.109, allocations: 8 kB / 438.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1091, allocations: 0 / 438.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.346e-06/0.1091, allocations: 7.938 kB / 438.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1091, allocations: 0 / 438.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.1091, allocations: 11.84 kB / 438.3 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.1092, allocations: 7.953 kB / 438.3 MB, free: 1.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.1093, allocations: 195.4 kB / 438.5 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1093, allocations: 15.89 kB / 438.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.1094, allocations: 21.17 kB / 438.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1094, allocations: 0 / 438.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1094, allocations: 0 / 438.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.1094, allocations: 0 / 438.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1095, allocations: 197.4 kB / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1095, allocations: 0 / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.1095, allocations: 0 / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1096, allocations: 0 / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.1096, allocations: 11.98 kB / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1096, allocations: 3.938 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1096, allocations: 0 / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.1101, allocations: 0.5061 MB / 439.2 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.1102, allocations: 92.89 kB / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1102, allocations: 7.984 kB / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.1102, allocations: 4 kB / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.1103, allocations: 0 / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1103, allocations: 8 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.054e-05/0.1103, allocations: 103.8 kB / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1103, allocations: 0 / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1106, allocations: 44.03 kB / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/0.1108, allocations: 119.2 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000621/0.1114, allocations: 0.7025 MB / 440.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1114, allocations: 0 / 440.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.1119, allocations: 0.5696 MB / 440.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1121, allocations: 15.95 kB / 440.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.1127, allocations: 469.9 kB / 441.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.113, allocations: 0.7241 MB / 442.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.053e-05/0.1131, allocations: 0 / 442.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.1131, allocations: 11.44 kB / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1131, allocations: 0 / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of Templates: time 0.004471/0.1176, allocations: 1.685 MB / 443.8 MB, free: 11.42 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: