Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.001549, allocations: 112.2 kB / 16.51 MB, free: 6.715 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.001272/0.001272, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1712/0.1712, allocations: 38.03 MB / 329.3 MB, free: 8.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 60.91 kB / 398.1 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1032, allocations: 58.06 MB / 456.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003297/0.1066, allocations: 2.088 MB / 458.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007106/0.1073, allocations: 0.5377 MB / 458.8 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.1073, allocations: 0 / 458.8 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.1075, allocations: 19.84 kB / 458.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.1076, allocations: 23.91 kB / 458.8 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.1078, allocations: 59.84 kB / 458.9 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.108, allocations: 111.8 kB / 459 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.108, allocations: 0 / 459 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.713e-05/0.1081, allocations: 23.86 kB / 459 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.1081, allocations: 43.77 kB / 459 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.1082, allocations: 4 kB / 459.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1083, allocations: 75.83 kB / 459.1 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.1084, allocations: 7.984 kB / 459.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.1084, allocations: 19.88 kB / 459.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.1086, allocations: 99.95 kB / 459.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1086, allocations: 4 kB / 459.3 MB, free: 5.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1086, allocations: 0 / 459.3 MB, free: 5.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1086, allocations: 0 / 459.3 MB, free: 5.387 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004386/0.109, allocations: 389 kB / 459.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1091, allocations: 12.03 kB / 459.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1091, allocations: 4.938 kB / 459.7 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1092, allocations: 176.3 kB / 459.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1093, allocations: 384 / 459.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1093, allocations: 8.062 kB / 459.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1094, allocations: 53.69 kB / 459.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1094, allocations: 0 / 459.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1094, allocations: 0 / 459.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1094, allocations: 0 / 459.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.1095, allocations: 23.98 kB / 459.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.1096, allocations: 169.5 kB / 460.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.1097, allocations: 46.56 kB / 460.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.1097, allocations: 40.75 kB / 460.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.1097, allocations: 0 / 460.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1098, allocations: 30.56 kB / 460.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.1098, allocations: 0 / 460.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002225/0.11, allocations: 143.3 kB / 460.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.11, allocations: 89.14 kB / 460.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.1101, allocations: 109.8 kB / 460.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1101, allocations: 25.7 kB / 460.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.1102, allocations: 92.12 kB / 460.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.1102, allocations: 27.56 kB / 460.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.1103, allocations: 21.64 kB / 460.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1105, allocations: 318.8 kB / 461 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.1105, allocations: 15.98 kB / 461 MB, free: 3.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.51e-05/0.1105, allocations: 28.22 kB / 461 MB, free: 3.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.1107, allocations: 128.4 kB / 461.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1107, allocations: 0 / 461.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001218/0.1109, allocations: 119.3 kB / 461.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/0.1109, allocations: 41.69 kB / 461.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1109, allocations: 3.984 kB / 461.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1109, allocations: 0 / 461.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.156e-06/0.1109, allocations: 4 kB / 461.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.111, allocations: 0 / 461.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.111, allocations: 7.906 kB / 461.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.111, allocations: 8 kB / 461.3 MB, free: 3.027 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.0001128/0.1111, allocations: 155.5 kB / 461.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.1111, allocations: 4 kB / 461.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/0.1112, allocations: 12.36 kB / 461.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1112, allocations: 3.984 kB / 461.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1112, allocations: 0 / 461.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1112, allocations: 4 kB / 461.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.1113, allocations: 173.9 kB / 461.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1113, allocations: 0 / 461.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.1113, allocations: 4 kB / 461.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1113, allocations: 7.938 kB / 461.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1113, allocations: 3.938 kB / 461.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1113, allocations: 0 / 461.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1113, allocations: 0 / 461.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1116, allocations: 210.7 kB / 461.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.1116, allocations: 85.02 kB / 462 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1116, allocations: 0 / 462 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.677e-05/0.1117, allocations: 8.031 kB / 462 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.1117, allocations: 3.938 kB / 462 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1117, allocations: 4 kB / 462 MB, free: 2.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.011e-05/0.1118, allocations: 91.27 kB / 462.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1118, allocations: 0 / 462.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.112, allocations: 27.94 kB / 462.1 MB, free: 2.133 MB / 334.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.0001791/0.1122, allocations: 111.2 kB / 462.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.1125, allocations: 199.3 kB / 462.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1125, allocations: 4.062 kB / 462.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1126, allocations: 147.4 kB / 462.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.1129, allocations: 11.94 kB / 462.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.1133, allocations: 220.4 kB / 462.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1135, allocations: 0.7004 MB / 463.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.281e-05/0.1136, allocations: 0 / 463.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.245e-05/0.1136, allocations: 11.44 kB / 463.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1136, allocations: 0 / 463.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of Templates: time 0.003369/0.117, allocations: 0.9973 MB / 464.5 MB, free: 15.67 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)