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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001265/0.001265, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.46/1.46, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001722/0.001722, allocations: 119.1 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1548/0.1548, allocations: 37.93 MB / 330.9 MB, free: 2.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.026e-05, allocations: 3.984 kB / 390.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2536, allocations: 53.22 MB / 443.6 MB, free: 17.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.3754, allocations: 89.61 MB / 0.5207 GB, free: 8.039 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.3757, allocations: 79.95 kB / 0.5208 GB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2573/0.633, allocations: 14.48 MB / 0.5349 GB, free: 88.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6331, allocations: 4 kB / 0.5349 GB, free: 88.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.6331, allocations: 4.562 kB / 0.5349 GB, free: 88.91 MB / 378.7 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.000637/0.6337, allocations: 488.8 kB / 0.5354 GB, free: 88.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6338, allocations: 12.7 kB / 0.5354 GB, free: 88.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.6348, allocations: 114 kB / 0.5355 GB, free: 88.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.6352, allocations: 267 kB / 0.5358 GB, free: 88.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.6352, allocations: 13.56 kB / 0.5358 GB, free: 88.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.6352, allocations: 10.19 kB / 0.5358 GB, free: 88.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000345/0.6356, allocations: 206.1 kB / 0.536 GB, free: 88.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.636, allocations: 280.4 kB / 0.5363 GB, free: 88.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.636, allocations: 1.344 kB / 0.5363 GB, free: 88.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.6361, allocations: 7.891 kB / 0.5363 GB, free: 88.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.6361, allocations: 23.55 kB / 0.5363 GB, free: 88.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.6376, allocations: 1.288 MB / 0.5375 GB, free: 87.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.638, allocations: 208.1 kB / 0.5377 GB, free: 86.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.6381, allocations: 49.19 kB / 0.5378 GB, free: 86.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.6381, allocations: 2.312 kB / 0.5378 GB, free: 86.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.6382, allocations: 40.25 kB / 0.5378 GB, free: 86.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.755e-06/0.6382, allocations: 0.625 kB / 0.5378 GB, free: 86.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003067/0.6385, allocations: 113.5 kB / 0.5379 GB, free: 86.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.6385, allocations: 83.83 kB / 0.538 GB, free: 86.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.6387, allocations: 158.4 kB / 0.5382 GB, free: 86.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.6387, allocations: 25.7 kB / 0.5382 GB, free: 86.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.6388, allocations: 175.9 kB / 0.5384 GB, free: 86.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.6389, allocations: 35.25 kB / 0.5384 GB, free: 86.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.6389, allocations: 0 / 0.5384 GB, free: 86.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.639, allocations: 332.3 kB / 0.5387 GB, free: 86.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.639, allocations: 34.36 kB / 0.5387 GB, free: 86.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.822e-05/0.6391, allocations: 135.4 kB / 0.5389 GB, free: 85.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.251e-05/0.6392, allocations: 62.23 kB / 0.5389 GB, free: 85.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6392, allocations: 0 / 0.5389 GB, free: 85.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000227/0.6394, allocations: 188.4 kB / 0.5391 GB, free: 85.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6395, allocations: 9.719 kB / 0.5391 GB, free: 85.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.6395, allocations: 3.875 kB / 0.5391 GB, free: 85.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.6395, allocations: 11.5 kB / 0.5391 GB, free: 85.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.6397, allocations: 45.55 kB / 0.5392 GB, free: 85.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.6397, allocations: 7.562 kB / 0.5392 GB, free: 85.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.6398, allocations: 14.84 kB / 0.5392 GB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.6399, allocations: 18.38 kB / 0.5392 GB, free: 85.78 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.597e-05/0.64, allocations: 120.8 kB / 0.5393 GB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.64, allocations: 16.89 kB / 0.5393 GB, free: 85.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.6403, allocations: 124.1 kB / 0.5395 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6403, allocations: 0 / 0.5395 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6404, allocations: 0 / 0.5395 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.6404, allocations: 7.172 kB / 0.5395 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.6411, allocations: 466.8 kB / 0.5399 GB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.6411, allocations: 3.812 kB / 0.5399 GB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.972e-05/0.6412, allocations: 24.56 kB / 0.5399 GB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6412, allocations: 3.531 kB / 0.54 GB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.6412, allocations: 10.83 kB / 0.54 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6412, allocations: 0 / 0.54 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.6412, allocations: 3.5 kB / 0.54 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.6415, allocations: 311.2 kB / 0.5403 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.6415, allocations: 99.97 kB / 0.5404 GB, free: 84.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.6415, allocations: 3.781 kB / 0.5404 GB, free: 84.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.6417, allocations: 0 / 0.5404 GB, free: 84.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.6417, allocations: 9.703 kB / 0.5404 GB, free: 84.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.6417, allocations: 7.781 kB / 0.5404 GB, free: 84.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.984e-05/0.6418, allocations: 127.7 kB / 0.5405 GB, free: 84.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6418, allocations: 4 kB / 0.5405 GB, free: 84.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004023/0.6422, allocations: 61.92 kB / 0.5406 GB, free: 84.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001173/0.6423, allocations: 107.5 kB / 0.5407 GB, free: 84.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.6425, allocations: 101.4 kB / 0.5408 GB, free: 84.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6425, allocations: 0 / 0.5408 GB, free: 84.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/0.6426, allocations: 50.83 kB / 0.5408 GB, free: 84.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.6429, allocations: 21.59 kB / 0.5408 GB, free: 84.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.6433, allocations: 277.1 kB / 0.5411 GB, free: 84.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.6435, allocations: 0.7631 MB / 0.5418 GB, free: 83.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.6436, allocations: 38.84 kB / 0.5419 GB, free: 83.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.6436, allocations: 22.75 kB / 0.5419 GB, free: 83.64 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6436, allocations: 0 / 0.5419 GB, free: 83.64 MB / 378.7 MB Notification: Performance of Templates: time 0.002999/0.6467, allocations: 1.079 MB / 0.543 GB, free: 83.54 MB / 378.7 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)