Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001156/0.001156, allocations: 183.8 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.485/1.485, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.00188/0.00188, allocations: 112 kB / 248.1 MB, free: 40 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1669/0.1669, allocations: 37.93 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.678e-05, allocations: 4 kB / 390.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2423, allocations: 53.23 MB / 443.6 MB, free: 17.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3512, allocations: 88.66 MB / 0.5198 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.3515, allocations: 83.95 kB / 0.5199 GB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.3704, allocations: 6.594 MB / 0.5263 GB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3704, allocations: 0 / 0.5263 GB, free: 2.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.3705, allocations: 8 kB / 0.5263 GB, free: 2.223 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007226/0.3712, allocations: 0.5466 MB / 0.5268 GB, free: 1.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3712, allocations: 8.031 kB / 0.5268 GB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.3713, allocations: 35.53 kB / 0.5269 GB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.3725, allocations: 0.595 MB / 0.5275 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3726, allocations: 8 kB / 0.5275 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.3726, allocations: 12 kB / 0.5275 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003326/0.3729, allocations: 193 kB / 0.5277 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.3734, allocations: 286 kB / 0.5279 GB, free: 444 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3734, allocations: 0 / 0.5279 GB, free: 444 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.3734, allocations: 7.922 kB / 0.5279 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3734, allocations: 12 kB / 0.528 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.196/0.5695, allocations: 1.279 MB / 0.5292 GB, free: 87.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.57, allocations: 131.7 kB / 0.5293 GB, free: 87.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.5701, allocations: 54.75 kB / 0.5294 GB, free: 87.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.5701, allocations: 5.875 kB / 0.5294 GB, free: 87.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.5702, allocations: 38.59 kB / 0.5294 GB, free: 87.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.5702, allocations: 0 / 0.5294 GB, free: 87.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008055/0.571, allocations: 301.3 kB / 0.5297 GB, free: 87.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.571, allocations: 80.38 kB / 0.5298 GB, free: 87.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.5713, allocations: 216.4 kB / 0.53 GB, free: 87.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.5713, allocations: 26.7 kB / 0.53 GB, free: 87.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.5715, allocations: 200.2 kB / 0.5302 GB, free: 87.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.5715, allocations: 49.3 kB / 0.5303 GB, free: 87.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.5715, allocations: 0 / 0.5303 GB, free: 87.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.5716, allocations: 332 kB / 0.5306 GB, free: 86.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.5717, allocations: 52.69 kB / 0.5306 GB, free: 86.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.5718, allocations: 146.2 kB / 0.5308 GB, free: 86.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.572, allocations: 79.72 kB / 0.5308 GB, free: 86.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.572, allocations: 1.547 kB / 0.5308 GB, free: 86.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003492/0.5724, allocations: 214.6 kB / 0.531 GB, free: 86.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5724, allocations: 10.44 kB / 0.5311 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.5724, allocations: 3.688 kB / 0.5311 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.5724, allocations: 5.094 kB / 0.5311 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.5726, allocations: 55.89 kB / 0.5311 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.5726, allocations: 6.484 kB / 0.5311 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.5728, allocations: 5.594 kB / 0.5311 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.5728, allocations: 9.906 kB / 0.5311 GB, free: 86.79 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 (25): * Single equations (assignments): 25 * 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 6.444e-05/0.5729, allocations: 115 kB / 0.5312 GB, free: 86.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.573, allocations: 28.03 kB / 0.5313 GB, free: 86.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.5733, allocations: 181.7 kB / 0.5314 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5733, allocations: 1.844 kB / 0.5314 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5733, allocations: 1.719 kB / 0.5315 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.5733, allocations: 3.516 kB / 0.5315 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006219/0.5739, allocations: 0.5038 MB / 0.5319 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.574, allocations: 1.031 kB / 0.5319 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.5741, allocations: 29.95 kB / 0.532 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5742, allocations: 1.469 kB / 0.532 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.5742, allocations: 2.875 kB / 0.532 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.5742, allocations: 2.781 kB / 0.532 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.5742, allocations: 3.094 kB / 0.532 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.5745, allocations: 308.2 kB / 0.5323 GB, free: 86.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.5746, allocations: 97.55 kB / 0.5324 GB, free: 86.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.5746, allocations: 2.234 kB / 0.5324 GB, free: 86.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.5747, allocations: 1.922 kB / 0.5324 GB, free: 86.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.5748, allocations: 13.17 kB / 0.5324 GB, free: 86.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.5748, allocations: 6.438 kB / 0.5324 GB, free: 86.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.575, allocations: 170.9 kB / 0.5326 GB, free: 85.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.575, allocations: 0 / 0.5326 GB, free: 85.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003698/0.5753, allocations: 60.94 kB / 0.5326 GB, free: 85.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * 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.0001528/0.5755, allocations: 108.5 kB / 0.5327 GB, free: 85.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.5758, allocations: 142 kB / 0.5329 GB, free: 85.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5758, allocations: 1.062 kB / 0.5329 GB, free: 85.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.5759, allocations: 72.14 kB / 0.5329 GB, free: 85.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.5763, allocations: 57.42 kB / 0.533 GB, free: 85.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.5769, allocations: 329.5 kB / 0.5333 GB, free: 85.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.5772, allocations: 0.7872 MB / 0.5341 GB, free: 85.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.5774, allocations: 46.03 kB / 0.5341 GB, free: 85.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.5775, allocations: 23.39 kB / 0.5341 GB, free: 85.01 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5775, allocations: 0 / 0.5341 GB, free: 85.01 MB / 378.7 MB Notification: Performance of Templates: time 0.005532/0.583, allocations: 2.03 MB / 0.5361 GB, free: 84.85 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1)