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.0009785/0.0009785, allocations: 184.3 kB / 13.65 MB, free: 1.664 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.339/1.339, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001617/0.001617, allocations: 108.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1556/0.1556, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.175e-05, allocations: 4 kB / 397.5 MB, free: 1.066 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3186, allocations: 53.21 MB / 450.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.7429, allocations: 94.34 MB / 0.5323 GB, free: 87.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.7433, allocations: 78.86 kB / 0.5324 GB, free: 87.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0488/0.7921, allocations: 19.28 MB / 0.5512 GB, free: 77.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7921, allocations: 4 kB / 0.5512 GB, free: 77.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.102e-05/0.7922, allocations: 16 kB / 0.5512 GB, free: 77.7 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.001383/0.7936, allocations: 0.8968 MB / 0.5521 GB, free: 76.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.7936, allocations: 8.031 kB / 0.5521 GB, free: 76.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/0.7942, allocations: 142.9 kB / 0.5522 GB, free: 76.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.7958, allocations: 0.8672 MB / 0.5531 GB, free: 75.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.7959, allocations: 62 kB / 0.5532 GB, free: 75.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.796, allocations: 72 kB / 0.5532 GB, free: 75.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.7974, allocations: 1.091 MB / 0.5543 GB, free: 74.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.7974, allocations: 3.938 kB / 0.5543 GB, free: 74.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/0.7975, allocations: 36 kB / 0.5543 GB, free: 74.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.108e-05/0.7976, allocations: 45.97 kB / 0.5544 GB, free: 74.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.7986, allocations: 0.7922 MB / 0.5551 GB, free: 73.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00403/0.8026, allocations: 4.997 MB / 0.56 GB, free: 68.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.8032, allocations: 402 kB / 0.5604 GB, free: 67.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.8034, allocations: 214.4 kB / 0.5606 GB, free: 67.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.8035, allocations: 8.312 kB / 0.5606 GB, free: 67.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.8035, allocations: 42.89 kB / 0.5607 GB, free: 67.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 3.085e-06/0.8035, allocations: 0 / 0.5607 GB, free: 67.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001377/0.8049, allocations: 0.912 MB / 0.5615 GB, free: 66.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.805, allocations: 81.11 kB / 0.5616 GB, free: 66.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.8054, allocations: 443.5 kB / 0.562 GB, free: 66.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.8054, allocations: 37.7 kB / 0.5621 GB, free: 66.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.8056, allocations: 449.8 kB / 0.5625 GB, free: 65.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.8057, allocations: 169.6 kB / 0.5627 GB, free: 65.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.8057, allocations: 19.94 kB / 0.5627 GB, free: 65.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.8059, allocations: 366.8 kB / 0.563 GB, free: 65.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.8061, allocations: 237.7 kB / 0.5633 GB, free: 64.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.8066, allocations: 0.6042 MB / 0.5639 GB, free: 64.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.807, allocations: 367.6 kB / 0.5642 GB, free: 63.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.807, allocations: 4.172 kB / 0.5642 GB, free: 63.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001024/0.808, allocations: 0.8914 MB / 0.5651 GB, free: 62.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.8081, allocations: 11.98 kB / 0.5651 GB, free: 62.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.8081, allocations: 16 kB / 0.5651 GB, free: 62.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.8081, allocations: 20 kB / 0.5651 GB, free: 62.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.8087, allocations: 199.6 kB / 0.5653 GB, free: 62.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.8087, allocations: 27.92 kB / 0.5653 GB, free: 62.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.8091, allocations: 51.81 kB / 0.5654 GB, free: 62.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.8092, allocations: 36.19 kB / 0.5654 GB, free: 62.43 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 () * 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.0001107/0.8093, allocations: 172.5 kB / 0.5656 GB, free: 62.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.8094, allocations: 59.3 kB / 0.5657 GB, free: 62.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008184/0.8102, allocations: 0.5459 MB / 0.5662 GB, free: 61.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.8102, allocations: 8 kB / 0.5662 GB, free: 61.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.8102, allocations: 0 / 0.5662 GB, free: 61.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.8103, allocations: 11.98 kB / 0.5662 GB, free: 61.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.8119, allocations: 1.326 MB / 0.5675 GB, free: 60.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.8119, allocations: 4.25 kB / 0.5675 GB, free: 60.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.8123, allocations: 103.9 kB / 0.5676 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.8123, allocations: 8 kB / 0.5676 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.8124, allocations: 12 kB / 0.5676 GB, free: 60.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.8124, allocations: 7.938 kB / 0.5676 GB, free: 60.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.8124, allocations: 4 kB / 0.5676 GB, free: 60.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/0.8132, allocations: 0.7664 MB / 0.5684 GB, free: 59.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.8133, allocations: 128.4 kB / 0.5685 GB, free: 59.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.8134, allocations: 11.98 kB / 0.5685 GB, free: 59.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.8137, allocations: 35.97 kB / 0.5686 GB, free: 59.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.641e-05/0.8138, allocations: 23.97 kB / 0.5686 GB, free: 59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.8138, allocations: 19.98 kB / 0.5686 GB, free: 58.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002999/0.8141, allocations: 325.5 kB / 0.5689 GB, free: 58.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8141, allocations: 0 / 0.5689 GB, free: 58.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007116/0.8148, allocations: 191.9 kB / 0.5691 GB, free: 58.48 MB / 378.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 () * 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.0002441/0.8151, allocations: 143 kB / 0.5692 GB, free: 58.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008028/0.8159, allocations: 0.6146 MB / 0.5698 GB, free: 57.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.8159, allocations: 0 / 0.5698 GB, free: 57.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.8162, allocations: 255.6 kB / 0.5701 GB, free: 57.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.8168, allocations: 107 kB / 0.5702 GB, free: 57.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.8185, allocations: 1.044 MB / 0.5712 GB, free: 56.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.819, allocations: 1.016 MB / 0.5722 GB, free: 55.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005046/0.8195, allocations: 216.9 kB / 0.5724 GB, free: 55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.8196, allocations: 47.44 kB / 0.5724 GB, free: 54.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8196, allocations: 0 / 0.5724 GB, free: 54.96 MB / 378.7 MB Notification: Performance of Templates: time 0.008908/0.8286, allocations: 4.995 MB / 0.5773 GB, free: 49.98 MB / 378.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)