Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.000988/0.0009881, allocations: 187.9 kB / 8.353 MB, free: 0.707 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.265/1.265, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001628/0.001628, allocations: 115.8 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1634/0.1634, allocations: 37.91 MB / 330.9 MB, free: 7.316 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.229e-05/1.245e-05, allocations: 0 / 390.3 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 53.24 MB / 443.6 MB, free: 25.12 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4164/0.5202, allocations: 93.66 MB / 0.5247 GB, free: 9.879 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5205, allocations: 80.17 kB / 0.5247 GB, free: 9.867 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04928/0.5698, allocations: 19.13 MB / 0.5434 GB, free: 13.74 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5699, allocations: 0 / 0.5434 GB, free: 13.74 MB / 363.1 MB Notification: Performance of Transformations before backend: time 5.323e-05/0.5699, allocations: 16 kB / 0.5434 GB, free: 13.73 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002051/0.572, allocations: 0.9023 MB / 0.5443 GB, free: 12.83 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/0.5721, allocations: 8.031 kB / 0.5443 GB, free: 12.82 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009088/0.573, allocations: 138.9 kB / 0.5445 GB, free: 12.69 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.5751, allocations: 0.8757 MB / 0.5453 GB, free: 11.92 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.5752, allocations: 24 kB / 0.5453 GB, free: 11.9 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5753, allocations: 47.69 kB / 0.5454 GB, free: 11.86 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001279/0.5766, allocations: 0.6624 MB / 0.546 GB, free: 11.4 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.5782, allocations: 0.9788 MB / 0.547 GB, free: 10.53 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.5782, allocations: 11.94 kB / 0.547 GB, free: 10.52 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.5783, allocations: 4 kB / 0.547 GB, free: 10.52 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.191e-05/0.5784, allocations: 48.86 kB / 0.547 GB, free: 10.47 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005518/0.5839, allocations: 4.848 MB / 0.5518 GB, free: 5.918 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.5845, allocations: 374.2 kB / 0.5521 GB, free: 5.637 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.5848, allocations: 207.2 kB / 0.5523 GB, free: 5.496 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.5849, allocations: 16.83 kB / 0.5523 GB, free: 5.48 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.5849, allocations: 37.83 kB / 0.5524 GB, free: 5.438 MB / 363.1 MB Notification: Performance of pre-optimization done (n=47): time 3.005e-06/0.5849, allocations: 0 / 0.5524 GB, free: 5.438 MB / 363.1 MB Notification: Performance of matching and sorting (n=48): time 0.001829/0.5868, allocations: 0.8902 MB / 0.5532 GB, free: 4.695 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.5868, allocations: 81.11 kB / 0.5533 GB, free: 4.598 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.5873, allocations: 397.5 kB / 0.5537 GB, free: 4.281 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.5873, allocations: 29.64 kB / 0.5537 GB, free: 4.246 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.5876, allocations: 454.3 kB / 0.5542 GB, free: 3.871 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.5877, allocations: 167.4 kB / 0.5543 GB, free: 3.727 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.5878, allocations: 0 / 0.5543 GB, free: 3.727 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5879, allocations: 364.5 kB / 0.5547 GB, free: 3.383 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.5882, allocations: 218.1 kB / 0.5549 GB, free: 3.234 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.5889, allocations: 0.5983 MB / 0.5555 GB, free: 2.539 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/0.5894, allocations: 354.4 kB / 0.5558 GB, free: 2.277 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.5894, allocations: 4 kB / 0.5558 GB, free: 2.273 MB / 363.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001229/0.5907, allocations: 0.8052 MB / 0.5566 GB, free: 1.605 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.5907, allocations: 15.95 kB / 0.5566 GB, free: 1.59 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.5907, allocations: 15.94 kB / 0.5566 GB, free: 1.574 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/0.5908, allocations: 20 kB / 0.5566 GB, free: 1.555 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.5914, allocations: 206.6 kB / 0.5568 GB, free: 1.359 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/0.5915, allocations: 23.92 kB / 0.5569 GB, free: 1.336 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.5919, allocations: 32.28 kB / 0.5569 GB, free: 1.305 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/0.592, allocations: 42.75 kB / 0.5569 GB, free: 1.27 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (97): * Single equations (assignments): 95 * Array equations: 2 * 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 0.0001339/0.5921, allocations: 135.7 kB / 0.5571 GB, free: 1.133 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.5922, allocations: 55.33 kB / 0.5571 GB, free: 1.078 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009539/0.5932, allocations: 0.5292 MB / 0.5576 GB, free: 0.6797 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.5932, allocations: 8 kB / 0.5576 GB, free: 0.6719 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.5932, allocations: 8 kB / 0.5577 GB, free: 0.6641 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.5932, allocations: 3.984 kB / 0.5577 GB, free: 0.6602 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.5951, allocations: 1.19 MB / 0.5588 GB, free: 15.66 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5951, allocations: 4 kB / 0.5588 GB, free: 15.66 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.5956, allocations: 107.8 kB / 0.5589 GB, free: 15.55 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.5956, allocations: 4 kB / 0.5589 GB, free: 15.55 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.5956, allocations: 11.98 kB / 0.5589 GB, free: 15.54 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.5956, allocations: 4 kB / 0.5589 GB, free: 15.54 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5956, allocations: 4 kB / 0.5589 GB, free: 15.53 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009764/0.5966, allocations: 0.7691 MB / 0.5597 GB, free: 14.79 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.5968, allocations: 124.4 kB / 0.5598 GB, free: 14.66 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/0.5969, allocations: 8 kB / 0.5598 GB, free: 14.65 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.5971, allocations: 19.92 kB / 0.5598 GB, free: 14.63 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.5972, allocations: 35.77 kB / 0.5599 GB, free: 14.6 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.5973, allocations: 15.69 kB / 0.5599 GB, free: 14.59 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0003065/0.5976, allocations: 282.7 kB / 0.5602 GB, free: 14.37 MB / 379.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5976, allocations: 4 kB / 0.5602 GB, free: 14.36 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.0007398/0.5983, allocations: 159.9 kB / 0.5603 GB, free: 14.21 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (48): * Single equations (assignments): 45 * Array equations: 2 * 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.0002549/0.5986, allocations: 139.2 kB / 0.5604 GB, free: 14.07 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.0008408/0.5994, allocations: 0.565 MB / 0.561 GB, free: 13.64 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5994, allocations: 0 / 0.561 GB, free: 13.64 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.5998, allocations: 249.8 kB / 0.5612 GB, free: 13.47 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.6004, allocations: 83.61 kB / 0.5613 GB, free: 13.41 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.6025, allocations: 1.023 MB / 0.5623 GB, free: 12.45 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.6032, allocations: 1.016 MB / 0.5633 GB, free: 11.44 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 0.0006356/0.6039, allocations: 220.8 kB / 0.5635 GB, free: 11.23 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.604, allocations: 50.69 kB / 0.5636 GB, free: 11.18 MB / 379.1 MB Notification: Performance of SimCode: time 7.22e-07/0.604, allocations: 0 / 0.5636 GB, free: 11.18 MB / 379.1 MB Notification: Performance of Templates: time 0.0114/0.6154, allocations: 4.759 MB / 0.5682 GB, free: 6.469 MB / 379.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)