Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 106.6 kB / 17.06 MB, free: 5.832 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.001283/0.001284, allocations: 195.9 kB / 18.01 MB, free: 4.961 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.398/1.398, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1752/0.1752, allocations: 38.04 MB / 329.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 458.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3924, allocations: 58.05 MB / 0.5041 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003537/0.396, allocations: 2.039 MB / 0.5061 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007304/0.3967, allocations: 0.5248 MB / 0.5066 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.3968, allocations: 1.125 kB / 0.5066 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.397, allocations: 10.3 kB / 0.5066 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.3971, allocations: 24.22 kB / 0.5066 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.3975, allocations: 67.45 kB / 0.5067 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3977, allocations: 63.17 kB / 0.5068 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.47e-05/0.3977, allocations: 11.3 kB / 0.5068 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3979, allocations: 29.31 kB / 0.5068 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.3979, allocations: 28.59 kB / 0.5068 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.3979, allocations: 1.5 kB / 0.5068 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.3982, allocations: 75.27 kB / 0.5069 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.3982, allocations: 18.97 kB / 0.5069 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.3983, allocations: 14.47 kB / 0.5069 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.3986, allocations: 108.8 kB / 0.507 GB, free: 5.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3986, allocations: 0.6094 kB / 0.507 GB, free: 5.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3986, allocations: 0 / 0.507 GB, free: 5.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3986, allocations: 3.938 kB / 0.507 GB, free: 5.852 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004336/0.3991, allocations: 411.1 kB / 0.5074 GB, free: 5.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3991, allocations: 9.438 kB / 0.5074 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.3992, allocations: 10.88 kB / 0.5075 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3993, allocations: 181.4 kB / 0.5076 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3993, allocations: 1.594 kB / 0.5076 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.3994, allocations: 5.844 kB / 0.5076 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3995, allocations: 58.28 kB / 0.5077 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3995, allocations: 0 / 0.5077 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.3995, allocations: 5.062 kB / 0.5077 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3996, allocations: 0 / 0.5077 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.447e-05/0.3996, allocations: 29.88 kB / 0.5077 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.3997, allocations: 172.1 kB / 0.5079 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.702e-05/0.3998, allocations: 58.05 kB / 0.5079 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.3999, allocations: 52.31 kB / 0.508 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.3999, allocations: 1.188 kB / 0.508 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3999, allocations: 36.59 kB / 0.508 GB, free: 4.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.3999, allocations: 0 / 0.508 GB, free: 4.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002657/0.4002, allocations: 179.3 kB / 0.5082 GB, free: 4.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.4002, allocations: 92.12 kB / 0.5083 GB, free: 4.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.4003, allocations: 122.9 kB / 0.5084 GB, free: 4.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.323e-06/0.4003, allocations: 25.7 kB / 0.5084 GB, free: 4.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.4004, allocations: 88.62 kB / 0.5085 GB, free: 4.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.4004, allocations: 35.61 kB / 0.5085 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.4005, allocations: 18.38 kB / 0.5086 GB, free: 4.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.4005, allocations: 324.9 kB / 0.5089 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.935e-05/0.4006, allocations: 29.08 kB / 0.5089 GB, free: 4.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.4006, allocations: 28.28 kB / 0.5089 GB, free: 4.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.4008, allocations: 159.2 kB / 0.5091 GB, free: 3.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4008, allocations: 0 / 0.5091 GB, free: 3.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001446/0.4009, allocations: 149.5 kB / 0.5092 GB, free: 3.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.401, allocations: 50.75 kB / 0.5093 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.401, allocations: 0 / 0.5093 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.401, allocations: 1.375 kB / 0.5093 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.401, allocations: 4.719 kB / 0.5093 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.401, allocations: 0 / 0.5093 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.401, allocations: 11.45 kB / 0.5093 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.4011, allocations: 2.984 kB / 0.5093 GB, free: 3.863 MB / 382.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 9.103e-05/0.4012, allocations: 164.9 kB / 0.5095 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.4012, allocations: 16.02 kB / 0.5095 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.4012, allocations: 8.219 kB / 0.5095 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.4012, allocations: 0 / 0.5095 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4012, allocations: 3.938 kB / 0.5095 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4012, allocations: 5.797 kB / 0.5095 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.338e-05/0.4013, allocations: 183.2 kB / 0.5097 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4013, allocations: 5.188 kB / 0.5097 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.4013, allocations: 0 / 0.5097 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4013, allocations: 0.6094 kB / 0.5097 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4013, allocations: 3.438 kB / 0.5097 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4014, allocations: 0.6562 kB / 0.5097 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4014, allocations: 1.156 kB / 0.5097 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.4016, allocations: 283.4 kB / 0.5099 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.4017, allocations: 83.86 kB / 0.51 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.4017, allocations: 3 kB / 0.51 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.4017, allocations: 2.25 kB / 0.51 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.4017, allocations: 2.969 kB / 0.51 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4018, allocations: 3.188 kB / 0.51 GB, free: 3.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.02e-05/0.4018, allocations: 98.06 kB / 0.5101 GB, free: 3.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4018, allocations: 0 / 0.5101 GB, free: 3.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00024/0.4021, allocations: 32.81 kB / 0.5102 GB, free: 3.16 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.0001568/0.4022, allocations: 115.7 kB / 0.5103 GB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.4025, allocations: 296.1 kB / 0.5105 GB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4025, allocations: 0 / 0.5105 GB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.4027, allocations: 219.8 kB / 0.5108 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.403, allocations: 20.05 kB / 0.5108 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.4034, allocations: 273.6 kB / 0.511 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.4036, allocations: 0.6995 MB / 0.5117 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.883e-05/0.4036, allocations: 1.484 kB / 0.5117 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.021e-05/0.4036, allocations: 8.656 kB / 0.5117 GB, free: 1.934 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4036, allocations: 0 / 0.5117 GB, free: 1.934 MB / 382.1 MB Notification: Performance of Templates: time 0.004295/0.4079, allocations: 1.318 MB / 0.513 GB, free: 1.805 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)