Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001476/0.001476, allocations: 187.1 kB / 18.67 MB, free: 4.422 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.397/1.397, allocations: 222.9 MB / 242.4 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.1773/0.1773, allocations: 38.03 MB / 330.6 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3443, allocations: 58.07 MB / 0.5048 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.00308/0.3474, allocations: 2.109 MB / 0.5068 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.3501, allocations: 2.032 MB / 0.5088 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.3502, allocations: 5.469 kB / 0.5088 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.3503, allocations: 10.31 kB / 0.5088 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.3504, allocations: 36.19 kB / 0.5089 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.3527, allocations: 0.8323 MB / 0.5097 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3529, allocations: 80.94 kB / 0.5097 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.353, allocations: 4.312 kB / 0.5098 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.353, allocations: 35.89 kB / 0.5098 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.459e-05/0.3531, allocations: 48.61 kB / 0.5098 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.3532, allocations: 6.531 kB / 0.5098 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.3554, allocations: 1.4 MB / 0.5112 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.3555, allocations: 30.48 kB / 0.5112 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.3555, allocations: 37.73 kB / 0.5113 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.3577, allocations: 1.352 MB / 0.5126 GB, free: 3.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3577, allocations: 1.906 kB / 0.5126 GB, free: 3.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3577, allocations: 0 / 0.5126 GB, free: 3.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3577, allocations: 4 kB / 0.5126 GB, free: 3.902 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007169/0.3584, allocations: 0.5641 MB / 0.5131 GB, free: 3.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3585, allocations: 12.52 kB / 0.5132 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.3585, allocations: 15.14 kB / 0.5132 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.3587, allocations: 203.5 kB / 0.5134 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3587, allocations: 1.156 kB / 0.5134 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.3587, allocations: 1.125 kB / 0.5134 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3589, allocations: 97.92 kB / 0.5135 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3589, allocations: 0 / 0.5135 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.359, allocations: 5.859 kB / 0.5135 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.359, allocations: 0 / 0.5135 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3591, allocations: 62 kB / 0.5135 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.3592, allocations: 187.2 kB / 0.5137 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3593, allocations: 105.3 kB / 0.5138 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.3595, allocations: 91.27 kB / 0.5139 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.3595, allocations: 0.9688 kB / 0.5139 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.3595, allocations: 36.33 kB / 0.5139 GB, free: 2.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.192e-06/0.3595, allocations: 0 / 0.5139 GB, free: 2.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004992/0.36, allocations: 317 kB / 0.5142 GB, free: 2.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3601, allocations: 98.41 kB / 0.5143 GB, free: 2.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3602, allocations: 150.5 kB / 0.5145 GB, free: 2.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.3602, allocations: 27.3 kB / 0.5145 GB, free: 2.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.3602, allocations: 99.22 kB / 0.5146 GB, free: 2.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.942e-05/0.3603, allocations: 87.09 kB / 0.5147 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.3604, allocations: 32.67 kB / 0.5147 GB, free: 2.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.3604, allocations: 332.1 kB / 0.515 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.3605, allocations: 56.95 kB / 0.5151 GB, free: 1.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.602e-05/0.3606, allocations: 60.86 kB / 0.5151 GB, free: 1.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.3608, allocations: 256.9 kB / 0.5154 GB, free: 1.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3608, allocations: 3.938 kB / 0.5154 GB, free: 1.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002596/0.3611, allocations: 233.9 kB / 0.5156 GB, free: 1.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.3612, allocations: 64 kB / 0.5157 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3612, allocations: 4.969 kB / 0.5157 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3612, allocations: 4.062 kB / 0.5157 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.3612, allocations: 0.6562 kB / 0.5157 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3612, allocations: 5.219 kB / 0.5157 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.3613, allocations: 13.09 kB / 0.5157 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.3613, allocations: 7.016 kB / 0.5157 GB, free: 1.609 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.0001475/0.3615, allocations: 198.9 kB / 0.5159 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.3615, allocations: 17.38 kB / 0.5159 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.3615, allocations: 10.41 kB / 0.5159 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3615, allocations: 0.5625 kB / 0.5159 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3615, allocations: 4.594 kB / 0.5159 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3616, allocations: 0.5312 kB / 0.5159 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.3617, allocations: 211.1 kB / 0.5161 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3617, allocations: 0 / 0.5161 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.3617, allocations: 0.5 kB / 0.5161 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3617, allocations: 0.5938 kB / 0.5161 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.3617, allocations: 5.641 kB / 0.5161 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3617, allocations: 0.5312 kB / 0.5161 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3617, allocations: 0.5312 kB / 0.5161 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.3625, allocations: 0.5273 MB / 0.5166 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.3625, allocations: 93.83 kB / 0.5167 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3626, allocations: 4.656 kB / 0.5167 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.313e-05/0.3626, allocations: 3.156 kB / 0.5167 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.3627, allocations: 7.625 kB / 0.5168 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3627, allocations: 6.266 kB / 0.5168 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.85e-05/0.3628, allocations: 117.9 kB / 0.5169 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.3628, allocations: 0 / 0.5169 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001241/0.364, allocations: 333.7 kB / 0.5172 GB, free: 0.8008 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.0008955/0.3649, allocations: 370.3 kB / 0.5175 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006349/0.3656, allocations: 0.7144 MB / 0.5182 GB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3656, allocations: 0 / 0.5182 GB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.366, allocations: 0.5684 MB / 0.5188 GB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3662, allocations: 17.91 kB / 0.5188 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007779/0.367, allocations: 0.495 MB / 0.5193 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3673, allocations: 0.7259 MB / 0.52 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.3673, allocations: 8.688 kB / 0.52 GB, free: 15.05 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3674, allocations: 0 / 0.52 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Templates: time 0.01233/0.3797, allocations: 6.45 MB / 0.5263 GB, free: 13.08 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1)