Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 113.7 kB / 17.07 MB, free: 5.961 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.001684/0.001685, allocations: 198.8 kB / 18 MB, free: 5.051 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.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1896/0.1896, allocations: 38.04 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.89 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3346, allocations: 58.05 MB / 0.5041 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004151/0.3387, allocations: 3.433 MB / 0.5074 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3404, allocations: 1.516 MB / 0.5089 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.3406, allocations: 9.688 kB / 0.5089 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007457/0.3413, allocations: 260.8 kB / 0.5092 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005464/0.3419, allocations: 280.6 kB / 0.5095 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.3422, allocations: 130 kB / 0.5096 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.3425, allocations: 341.9 kB / 0.5099 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.3428, allocations: 133 kB / 0.51 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.343, allocations: 155 kB / 0.5102 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.3432, allocations: 153.1 kB / 0.5103 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.3432, allocations: 13.31 kB / 0.5103 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.3437, allocations: 332.5 kB / 0.5107 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3438, allocations: 99.14 kB / 0.5107 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.3439, allocations: 102.8 kB / 0.5108 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.3444, allocations: 355.6 kB / 0.5112 GB, free: 3.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3444, allocations: 0 / 0.5112 GB, free: 3.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3444, allocations: 1.031 kB / 0.5112 GB, free: 3.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3444, allocations: 0 / 0.5112 GB, free: 3.246 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005991/0.345, allocations: 0.5118 MB / 0.5117 GB, free: 2.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.345, allocations: 10.12 kB / 0.5117 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.346, allocations: 106.4 kB / 0.5118 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3463, allocations: 267.9 kB / 0.5121 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3463, allocations: 11.47 kB / 0.5121 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.3464, allocations: 25.67 kB / 0.5121 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.3469, allocations: 320.7 kB / 0.5124 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3469, allocations: 1.188 kB / 0.5124 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.3469, allocations: 10.83 kB / 0.5124 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.347, allocations: 14.31 kB / 0.5124 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.3475, allocations: 309.2 kB / 0.5127 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.3489, allocations: 1.281 MB / 0.514 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.3492, allocations: 204.5 kB / 0.5142 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.3493, allocations: 48.12 kB / 0.5142 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3493, allocations: 1.125 kB / 0.5142 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.3493, allocations: 32.45 kB / 0.5142 GB, free: 1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.3493, allocations: 0 / 0.5142 GB, free: 1 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002813/0.3496, allocations: 147.6 kB / 0.5144 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.3497, allocations: 79.02 kB / 0.5145 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3498, allocations: 218.1 kB / 0.5147 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.3499, allocations: 29.83 kB / 0.5147 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.3499, allocations: 174.6 kB / 0.5149 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.35, allocations: 32.03 kB / 0.5149 GB, free: 484 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.35, allocations: 47.95 kB / 0.5149 GB, free: 448 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.3501, allocations: 324.8 kB / 0.5152 GB, free: 124 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.3501, allocations: 39.8 kB / 0.5153 GB, free: 112 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3503, allocations: 139.7 kB / 0.5154 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.3505, allocations: 192.6 kB / 0.5156 GB, free: 15.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3505, allocations: 5.031 kB / 0.5156 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003165/0.3508, allocations: 204.4 kB / 0.5158 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3508, allocations: 7.125 kB / 0.5158 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3508, allocations: 4.406 kB / 0.5158 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3509, allocations: 3.719 kB / 0.5158 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.351, allocations: 47.69 kB / 0.5159 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.3511, allocations: 8.906 kB / 0.5159 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3512, allocations: 19.8 kB / 0.5159 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.3512, allocations: 8.719 kB / 0.5159 GB, free: 15.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001393/0.3514, allocations: 165.1 kB / 0.516 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.3514, allocations: 16.19 kB / 0.5161 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.3516, allocations: 126.9 kB / 0.5162 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3516, allocations: 2.188 kB / 0.5162 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3517, allocations: 1.688 kB / 0.5162 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3517, allocations: 0 / 0.5162 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.3524, allocations: 0.5787 MB / 0.5168 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3524, allocations: 2.156 kB / 0.5168 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.3525, allocations: 17.95 kB / 0.5168 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3525, allocations: 4.328 kB / 0.5168 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3525, allocations: 11.06 kB / 0.5168 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3525, allocations: 9.047 kB / 0.5168 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3525, allocations: 2.375 kB / 0.5168 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.3528, allocations: 281.8 kB / 0.5171 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.3529, allocations: 95.95 kB / 0.5172 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.3529, allocations: 7.609 kB / 0.5172 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.353, allocations: 7.906 kB / 0.5172 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.3531, allocations: 12.72 kB / 0.5172 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3531, allocations: 14.09 kB / 0.5172 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.3533, allocations: 154.3 kB / 0.5173 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.3533, allocations: 0.6875 kB / 0.5173 GB, free: 14.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.3537, allocations: 57.28 kB / 0.5174 GB, free: 14.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.838e-05/0.3538, allocations: 98.89 kB / 0.5175 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.354, allocations: 123.2 kB / 0.5176 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.354, allocations: 0 / 0.5176 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.3541, allocations: 44.75 kB / 0.5177 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.3545, allocations: 38.7 kB / 0.5177 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007802/0.3553, allocations: 460.9 kB / 0.5181 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3556, allocations: 0.7525 MB / 0.5189 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3557, allocations: 38.12 kB / 0.5189 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.3558, allocations: 16.62 kB / 0.5189 GB, free: 13.25 MB / 398.1 MB Notification: Performance of SimCode: time 1.684e-06/0.3558, allocations: 0 / 0.5189 GB, free: 13.25 MB / 398.1 MB Notification: Performance of Templates: time 0.00372/0.3595, allocations: 1.249 MB / 0.5201 GB, free: 13.11 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)