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.001131/0.001131, allocations: 104.4 kB / 17.74 MB, free: 5.363 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.001134/0.001134, allocations: 183.1 kB / 18.66 MB, free: 4.449 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.301/1.301, allocations: 205.1 MB / 224.5 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.177/0.177, allocations: 37.97 MB / 309.9 MB, free: 5.969 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.001561/0.001561, allocations: 67.91 kB / 432.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1063, allocations: 55.24 MB / 487.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003527/0.1099, allocations: 2.048 MB / 489.8 MB, free: 6.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000896/0.1108, allocations: 0.562 MB / 490.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.1109, allocations: 0 / 490.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.111, allocations: 15.92 kB / 490.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.887e-05/0.1111, allocations: 27.84 kB / 490.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1115, allocations: 63.83 kB / 490.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1116, allocations: 67.7 kB / 490.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.1117, allocations: 4 kB / 490.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-05/0.1118, allocations: 27.91 kB / 490.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.1118, allocations: 27.84 kB / 490.6 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1119, allocations: 0 / 490.6 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.112, allocations: 79.81 kB / 490.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.1121, allocations: 47.84 kB / 490.7 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.1122, allocations: 39.56 kB / 490.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1124, allocations: 151.5 kB / 490.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1124, allocations: 0 / 490.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1124, allocations: 3.938 kB / 490.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1124, allocations: 0 / 490.9 MB, free: 5.285 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.0004608/0.1129, allocations: 480.5 kB / 491.4 MB, free: 4.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1129, allocations: 15.83 kB / 491.4 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.113, allocations: 12.75 kB / 491.4 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.1132, allocations: 204.5 kB / 491.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1132, allocations: 7.938 kB / 491.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1132, allocations: 0 / 491.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1134, allocations: 126.6 kB / 491.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1134, allocations: 4 kB / 491.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1134, allocations: 0 / 491.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1134, allocations: 0 / 491.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.437e-05/0.1135, allocations: 92.3 kB / 491.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.1137, allocations: 205.9 kB / 492.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.1138, allocations: 158.9 kB / 492.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.114, allocations: 141.2 kB / 492.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.114, allocations: 0 / 492.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.114, allocations: 34.5 kB / 492.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.173e-06/0.114, allocations: 0 / 492.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005955/0.1146, allocations: 479.9 kB / 492.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.1147, allocations: 109.1 kB / 493 MB, free: 3.062 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1148, allocations: 150.5 kB / 493.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1148, allocations: 25.7 kB / 493.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.1149, allocations: 92.8 kB / 493.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.115, allocations: 134 kB / 493.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.1151, allocations: 33.7 kB / 493.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1152, allocations: 334.8 kB / 493.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.1153, allocations: 87.97 kB / 493.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.1154, allocations: 99.95 kB / 493.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1157, allocations: 369.4 kB / 494.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1157, allocations: 0 / 494.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003402/0.1161, allocations: 323.1 kB / 494.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/0.1162, allocations: 85.62 kB / 494.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1162, allocations: 0 / 494.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1162, allocations: 4 kB / 494.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.1162, allocations: 0 / 494.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1162, allocations: 0 / 494.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.1163, allocations: 23.69 kB / 494.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.1163, allocations: 11.98 kB / 494.7 MB, free: 1.25 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.0001756/0.1165, allocations: 231.4 kB / 494.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1165, allocations: 19.81 kB / 494.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.1166, allocations: 17.95 kB / 495 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1166, allocations: 3.938 kB / 495 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1166, allocations: 0 / 495 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1166, allocations: 3.984 kB / 495 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1167, allocations: 237.2 kB / 495.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1168, allocations: 3.938 kB / 495.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.1168, allocations: 0 / 495.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1168, allocations: 0 / 495.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1168, allocations: 12 kB / 495.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1168, allocations: 0 / 495.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1168, allocations: 0 / 495.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008858/0.1177, allocations: 0.9005 MB / 496.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.1177, allocations: 96.77 kB / 496.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.1178, allocations: 8 kB / 496.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.689e-05/0.1178, allocations: 8 kB / 496.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.1179, allocations: 4 kB / 496.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1179, allocations: 12.02 kB / 496.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.118, allocations: 119.9 kB / 496.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.118, allocations: 0 / 496.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1182, allocations: 59.94 kB / 496.4 MB, free: 15.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002096/0.1185, allocations: 115.2 kB / 496.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.1197, allocations: 1.593 MB / 498.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1197, allocations: 0 / 498.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.1206, allocations: 1.366 MB / 499.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.1209, allocations: 31.89 kB / 499.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/0.1218, allocations: 0.6391 MB / 0.4884 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1221, allocations: 0.7439 MB / 0.4892 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.1221, allocations: 7.438 kB / 0.4892 GB, free: 10.83 MB / 382.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1221, allocations: 0 / 0.4892 GB, free: 10.83 MB / 382.1 MB Notification: Performance of Templates: time 0.004581/0.1267, allocations: 2.314 MB / 0.4914 GB, free: 8.512 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)