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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001152/0.001152, allocations: 106.1 kB / 16.62 MB, free: 6.809 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.001139/0.001139, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1766/0.1766, allocations: 38.03 MB / 329.4 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 61.41 kB / 398.3 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1036, allocations: 58.06 MB / 456.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.00401/0.1076, allocations: 2.083 MB / 458.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009277/0.1086, allocations: 0.526 MB / 458.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.1087, allocations: 4 kB / 459 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.1088, allocations: 7.922 kB / 459 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.109, allocations: 23.91 kB / 459 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.1094, allocations: 55.86 kB / 459 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1096, allocations: 71.7 kB / 459.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.1096, allocations: 11.94 kB / 459.1 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1098, allocations: 27.84 kB / 459.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.1098, allocations: 31.89 kB / 459.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.1099, allocations: 0 / 459.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.1101, allocations: 83.83 kB / 459.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.1102, allocations: 39.84 kB / 459.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.1103, allocations: 43.56 kB / 459.3 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1105, allocations: 143.8 kB / 459.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1105, allocations: 0 / 459.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1105, allocations: 0 / 459.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1105, allocations: 0 / 459.5 MB, free: 5.219 MB / 334.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.0005599/0.1111, allocations: 484.5 kB / 460 MB, free: 4.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1112, allocations: 15.89 kB / 460 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.1112, allocations: 16.73 kB / 460 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1115, allocations: 210.4 kB / 460.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1115, allocations: 7.938 kB / 460.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1115, allocations: 0 / 460.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.1117, allocations: 122.6 kB / 460.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1117, allocations: 0 / 460.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1117, allocations: 0 / 460.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.1118, allocations: 0 / 460.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.1119, allocations: 100.3 kB / 460.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.1121, allocations: 198 kB / 460.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1122, allocations: 162.8 kB / 460.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1124, allocations: 141.2 kB / 460.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-06/0.1124, allocations: 0 / 460.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1124, allocations: 34.56 kB / 460.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 8.82e-07/0.1124, allocations: 0 / 460.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005607/0.113, allocations: 471.6 kB / 461.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.1131, allocations: 109.1 kB / 461.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1132, allocations: 153.6 kB / 461.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1132, allocations: 25.7 kB / 461.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.1133, allocations: 100.7 kB / 461.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1134, allocations: 133.9 kB / 461.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.1134, allocations: 33.7 kB / 461.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1136, allocations: 338.8 kB / 462.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.1137, allocations: 87.97 kB / 462.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.1137, allocations: 92.95 kB / 462.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.1141, allocations: 372.4 kB / 462.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1141, allocations: 0 / 462.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003039/0.1144, allocations: 319.1 kB / 463.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.98e-05/0.1145, allocations: 91.75 kB / 463.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1145, allocations: 3.938 kB / 463.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1145, allocations: 0 / 463.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-06/0.1145, allocations: 0 / 463.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.1145, allocations: 3.938 kB / 463.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.1146, allocations: 19.75 kB / 463.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.1146, allocations: 8 kB / 463.3 MB, free: 1.176 MB / 334.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.0002111/0.1148, allocations: 243.3 kB / 463.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1149, allocations: 19.81 kB / 463.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.1149, allocations: 13.97 kB / 463.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1149, allocations: 0 / 463.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1149, allocations: 4 kB / 463.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1149, allocations: 0 / 463.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.1151, allocations: 233.2 kB / 463.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1151, allocations: 0 / 463.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.1151, allocations: 0 / 463.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1151, allocations: 4 kB / 463.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1151, allocations: 8 kB / 463.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1152, allocations: 0 / 463.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1152, allocations: 0 / 463.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009468/0.1161, allocations: 0.8926 MB / 464.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.1162, allocations: 108.7 kB / 464.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.1162, allocations: 8 kB / 464.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.565e-05/0.1163, allocations: 11.94 kB / 464.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.1163, allocations: 4.031 kB / 464.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1163, allocations: 8 kB / 464.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.122e-05/0.1164, allocations: 115.2 kB / 464.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1164, allocations: 0 / 464.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1167, allocations: 60 kB / 465 MB, free: 15.35 MB / 350.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.0001809/0.1169, allocations: 115.2 kB / 465.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.1182, allocations: 1.585 MB / 466.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1182, allocations: 0 / 466.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009767/0.1192, allocations: 1.366 MB / 468 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1195, allocations: 35.91 kB / 468.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.1203, allocations: 0.6804 MB / 468.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1206, allocations: 0.7516 MB / 469.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.519e-05/0.1206, allocations: 4 kB / 469.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.1207, allocations: 11.44 kB / 469.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1207, allocations: 0 / 469.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Templates: time 0.005737/0.1264, allocations: 2.649 MB / 472.2 MB, free: 8.086 MB / 350.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)