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.001041/0.001041, allocations: 179.4 kB / 17.4 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.404/1.404, allocations: 194.5 MB / 212.6 MB, free: 2.863 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.001665/0.001665, allocations: 118 kB / 257.9 MB, free: 4.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2029/0.2029, allocations: 38.01 MB / 341.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08864/0.08902, allocations: 53.24 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4277, allocations: 94.46 MB / 0.5398 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.428, allocations: 86.53 kB / 0.5398 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0533/0.4813, allocations: 19.26 MB / 0.5586 GB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4814, allocations: 0 / 0.5586 GB, free: 15.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.216e-05/0.4814, allocations: 20.73 kB / 0.5587 GB, free: 15.95 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00235/0.4838, allocations: 0.9457 MB / 0.5596 GB, free: 15.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4838, allocations: 8.031 kB / 0.5596 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/0.4846, allocations: 147.8 kB / 0.5597 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.4861, allocations: 0.6629 MB / 0.5604 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/0.4862, allocations: 54.5 kB / 0.5604 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.4863, allocations: 75.94 kB / 0.5605 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.4881, allocations: 1.108 MB / 0.5616 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/0.4882, allocations: 18.83 kB / 0.5616 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/0.4883, allocations: 33.06 kB / 0.5616 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.369e-05/0.4884, allocations: 45.05 kB / 0.5617 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.4897, allocations: 0.8033 MB / 0.5625 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/0.4949, allocations: 5.011 MB / 0.5674 GB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.4956, allocations: 409.1 kB / 0.5678 GB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.4959, allocations: 214 kB / 0.568 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.496, allocations: 12.25 kB / 0.568 GB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.496, allocations: 38.89 kB / 0.568 GB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 3.286e-06/0.496, allocations: 0 / 0.568 GB, free: 7.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.00196/0.498, allocations: 1.092 MB / 0.5691 GB, free: 6.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.4981, allocations: 85.09 kB / 0.5692 GB, free: 6.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.4986, allocations: 0.4893 MB / 0.5696 GB, free: 6.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.4986, allocations: 37.39 kB / 0.5697 GB, free: 5.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.4989, allocations: 442.7 kB / 0.5701 GB, free: 5.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.4991, allocations: 176.6 kB / 0.5703 GB, free: 5.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.4991, allocations: 19.69 kB / 0.5703 GB, free: 5.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4992, allocations: 369.4 kB / 0.5706 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.4996, allocations: 238.9 kB / 0.5709 GB, free: 4.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.5002, allocations: 0.6243 MB / 0.5715 GB, free: 4.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5012, allocations: 0.9459 MB / 0.5724 GB, free: 3.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5012, allocations: 4 kB / 0.5724 GB, free: 3.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001249/0.5025, allocations: 0.8956 MB / 0.5733 GB, free: 2.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.5025, allocations: 15.94 kB / 0.5733 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.5026, allocations: 12 kB / 0.5733 GB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.5026, allocations: 20 kB / 0.5733 GB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.5032, allocations: 203.1 kB / 0.5735 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/0.5033, allocations: 23.94 kB / 0.5735 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.5037, allocations: 53.77 kB / 0.5736 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.5038, allocations: 42.12 kB / 0.5736 GB, free: 2.234 MB / 378.7 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 () * Number of clocked 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.0003664/0.5041, allocations: 302.7 kB / 0.5739 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.5042, allocations: 58.53 kB / 0.574 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.5051, allocations: 0.5571 MB / 0.5745 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.5051, allocations: 12 kB / 0.5745 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5051, allocations: 0 / 0.5745 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.5051, allocations: 7.984 kB / 0.5745 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.507, allocations: 1.334 MB / 0.5758 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5071, allocations: 0 / 0.5758 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.5075, allocations: 110.5 kB / 0.5759 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.5075, allocations: 4 kB / 0.5759 GB, free: 296 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.5075, allocations: 9.875 kB / 0.5759 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/0.5076, allocations: 11.94 kB / 0.576 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5076, allocations: 4 kB / 0.576 GB, free: 276 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.5084, allocations: 0.6765 MB / 0.5766 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.5085, allocations: 123.8 kB / 0.5767 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.5086, allocations: 18.98 kB / 0.5768 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.5088, allocations: 26.66 kB / 0.5768 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.5089, allocations: 31.03 kB / 0.5768 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.5089, allocations: 15.3 kB / 0.5768 GB, free: 15.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003257/0.5093, allocations: 335.6 kB / 0.5772 GB, free: 15.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5093, allocations: 0 / 0.5772 GB, free: 15.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007428/0.51, allocations: 182.7 kB / 0.5773 GB, free: 15.06 MB / 394.7 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 () * Number of clocked 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.0002152/0.5103, allocations: 138 kB / 0.5775 GB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008794/0.5111, allocations: 0.6124 MB / 0.5781 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5112, allocations: 1.875 kB / 0.5781 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.5115, allocations: 263.9 kB / 0.5783 GB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007383/0.5122, allocations: 105.5 kB / 0.5784 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.5146, allocations: 1.663 MB / 0.58 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/0.5152, allocations: 1.009 MB / 0.581 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005796/0.5158, allocations: 212.9 kB / 0.5812 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.516, allocations: 54.92 kB / 0.5813 GB, free: 11.34 MB / 394.7 MB Notification: Performance of SimCode: time 4.2e-07/0.516, allocations: 0 / 0.5813 GB, free: 11.34 MB / 394.7 MB Notification: Performance of Templates: time 0.01072/0.5267, allocations: 5.048 MB / 0.5862 GB, free: 6.305 MB / 394.7 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)