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.001119/0.001119, allocations: 107.1 kB / 17.74 MB, free: 5.316 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.001204/0.001204, allocations: 188.2 kB / 18.67 MB, free: 4.395 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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1755/0.1755, allocations: 38.03 MB / 330.5 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001203, allocations: 59.91 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2932, allocations: 58.06 MB / 0.5048 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002868/0.2961, allocations: 2.048 MB / 0.5068 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006341/0.2968, allocations: 0.5202 MB / 0.5073 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.2969, allocations: 1.062 kB / 0.5073 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.297, allocations: 16.75 kB / 0.5073 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.825e-05/0.2971, allocations: 26.55 kB / 0.5073 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.2974, allocations: 67.33 kB / 0.5074 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2975, allocations: 63 kB / 0.5074 GB, free: 6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.2976, allocations: 11.92 kB / 0.5074 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/0.2976, allocations: 28.38 kB / 0.5075 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.2977, allocations: 24.84 kB / 0.5075 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.2977, allocations: 1 kB / 0.5075 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.2979, allocations: 83.3 kB / 0.5076 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.2979, allocations: 41.38 kB / 0.5076 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.298, allocations: 43.38 kB / 0.5077 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.2982, allocations: 150.8 kB / 0.5078 GB, free: 5.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2982, allocations: 0 / 0.5078 GB, free: 5.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2982, allocations: 4 kB / 0.5078 GB, free: 5.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2982, allocations: 1.609 kB / 0.5078 GB, free: 5.848 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003405/0.2986, allocations: 478.2 kB / 0.5083 GB, free: 5.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2986, allocations: 14.8 kB / 0.5083 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.2986, allocations: 16.75 kB / 0.5083 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2988, allocations: 195.5 kB / 0.5085 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.2988, allocations: 5.438 kB / 0.5085 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-06/0.2988, allocations: 0 / 0.5085 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.299, allocations: 130.2 kB / 0.5086 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.299, allocations: 7.938 kB / 0.5086 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.299, allocations: 1.062 kB / 0.5086 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.299, allocations: 0 / 0.5086 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.2991, allocations: 95.66 kB / 0.5087 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.2992, allocations: 204.9 kB / 0.5089 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.2994, allocations: 152.8 kB / 0.509 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.2995, allocations: 143.4 kB / 0.5092 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-06/0.2995, allocations: 0 / 0.5092 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.2995, allocations: 36.56 kB / 0.5092 GB, free: 4.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 9.11e-07/0.2995, allocations: 0 / 0.5092 GB, free: 4.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005182/0.3, allocations: 470 kB / 0.5097 GB, free: 4.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.3001, allocations: 109.8 kB / 0.5098 GB, free: 4.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.3002, allocations: 144.9 kB / 0.5099 GB, free: 4.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.3002, allocations: 26.86 kB / 0.5099 GB, free: 4.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.3002, allocations: 97.97 kB / 0.51 GB, free: 4.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.3003, allocations: 134.4 kB / 0.5102 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.3004, allocations: 36.31 kB / 0.5102 GB, free: 4.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.3004, allocations: 340.2 kB / 0.5105 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.3005, allocations: 89.52 kB / 0.5106 GB, free: 3.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.3006, allocations: 94.72 kB / 0.5107 GB, free: 3.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.3009, allocations: 367.6 kB / 0.511 GB, free: 3.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3009, allocations: 0 / 0.511 GB, free: 3.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002849/0.3012, allocations: 319.2 kB / 0.5113 GB, free: 3.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.729e-05/0.3013, allocations: 85.91 kB / 0.5114 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3013, allocations: 9.734 kB / 0.5114 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3013, allocations: 0 / 0.5114 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.3013, allocations: 1.031 kB / 0.5114 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3013, allocations: 4.547 kB / 0.5114 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.3014, allocations: 23.56 kB / 0.5115 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3014, allocations: 7.422 kB / 0.5115 GB, free: 3.363 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 0.0001588/0.3016, allocations: 236.5 kB / 0.5117 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3016, allocations: 24.28 kB / 0.5117 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.3016, allocations: 12.28 kB / 0.5117 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3016, allocations: 4 kB / 0.5117 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3016, allocations: 1.219 kB / 0.5117 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3016, allocations: 0.7031 kB / 0.5117 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.3018, allocations: 229.9 kB / 0.512 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3018, allocations: 0.6562 kB / 0.512 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.3018, allocations: 0 / 0.512 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.3018, allocations: 1.156 kB / 0.512 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3018, allocations: 6.516 kB / 0.512 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3018, allocations: 1.094 kB / 0.512 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3018, allocations: 0 / 0.512 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.3027, allocations: 0.9072 MB / 0.5128 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.3027, allocations: 98.53 kB / 0.5129 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.3028, allocations: 6.938 kB / 0.5129 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.3028, allocations: 5.656 kB / 0.513 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.3028, allocations: 10.89 kB / 0.513 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3028, allocations: 6.438 kB / 0.513 GB, free: 2.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.814e-05/0.3029, allocations: 119.5 kB / 0.5131 GB, free: 2.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3029, allocations: 0 / 0.5131 GB, free: 2.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3032, allocations: 66.45 kB / 0.5131 GB, free: 2.488 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.0001592/0.3034, allocations: 115.3 kB / 0.5133 GB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.3046, allocations: 1.584 MB / 0.5148 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3046, allocations: 0 / 0.5148 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.3056, allocations: 1.367 MB / 0.5161 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.3059, allocations: 21.09 kB / 0.5162 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.3067, allocations: 0.6524 MB / 0.5168 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.307, allocations: 0.7466 MB / 0.5175 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.307, allocations: 8.594 kB / 0.5175 GB, free: 15.82 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.307, allocations: 3.938 kB / 0.5175 GB, free: 15.81 MB / 398.1 MB Notification: Performance of Templates: time 0.004419/0.3114, allocations: 2.314 MB / 0.5198 GB, free: 15.62 MB / 398.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)