Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.295/2.295, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 82.66 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.262/0.262, allocations: 37.99 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.049e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1256, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5123/0.638, allocations: 99.46 MB / 0.5524 GB, free: 9.672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.6383, allocations: 81.64 kB / 0.5525 GB, free: 9.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06621/0.7045, allocations: 12.1 MB / 0.5643 GB, free: 1.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7046, allocations: 0 / 0.5643 GB, free: 1.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.074e-05/0.7046, allocations: 15.67 kB / 0.5643 GB, free: 1.727 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001314/0.7059, allocations: 0.6326 MB / 0.5649 GB, free: 1.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.706, allocations: 12.03 kB / 0.5649 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008279/0.7068, allocations: 79.39 kB / 0.565 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/0.71, allocations: 0.8401 MB / 0.5658 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.7101, allocations: 16 kB / 0.5658 GB, free: 244 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.7102, allocations: 24 kB / 0.5659 GB, free: 220 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009119/0.7111, allocations: 361.3 kB / 0.5662 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.7123, allocations: 0.5412 MB / 0.5667 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.7123, allocations: 4 kB / 0.5667 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.7124, allocations: 0 / 0.5667 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-05/0.7125, allocations: 32.72 kB / 0.5668 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005029/0.7175, allocations: 2.788 MB / 0.5695 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.7181, allocations: 208.5 kB / 0.5697 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.7184, allocations: 141 kB / 0.5698 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.7185, allocations: 7.938 kB / 0.5698 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.7185, allocations: 30.56 kB / 0.5699 GB, free: 12.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.925e-06/0.7185, allocations: 0 / 0.5699 GB, free: 12.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.002148/0.7207, allocations: 0.8461 MB / 0.5707 GB, free: 11.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.7208, allocations: 81.11 kB / 0.5708 GB, free: 11.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.7212, allocations: 262.2 kB / 0.571 GB, free: 11.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.7213, allocations: 26.36 kB / 0.571 GB, free: 11.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.7215, allocations: 334.9 kB / 0.5714 GB, free: 11.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.7217, allocations: 100.8 kB / 0.5715 GB, free: 11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.7217, allocations: 0 / 0.5715 GB, free: 11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.7219, allocations: 339.7 kB / 0.5718 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.7222, allocations: 135.6 kB / 0.5719 GB, free: 10.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.7227, allocations: 331.7 kB / 0.5722 GB, free: 10.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.7233, allocations: 206.6 kB / 0.5724 GB, free: 10.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.7233, allocations: 0 / 0.5724 GB, free: 10.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001157/0.7245, allocations: 475.1 kB / 0.5729 GB, free: 9.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.7245, allocations: 12 kB / 0.5729 GB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.7245, allocations: 8 kB / 0.5729 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/0.7246, allocations: 12 kB / 0.5729 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.7254, allocations: 111.2 kB / 0.573 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.7254, allocations: 11.98 kB / 0.573 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.7258, allocations: 15.98 kB / 0.573 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.7259, allocations: 23.88 kB / 0.5731 GB, free: 9.496 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * Array equations: 1 * 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.0001591/0.7261, allocations: 132.3 kB / 0.5732 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.7262, allocations: 35.53 kB / 0.5732 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009597/0.7272, allocations: 333.1 kB / 0.5735 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.7272, allocations: 4 kB / 0.5735 GB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7272, allocations: 4 kB / 0.5735 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.7272, allocations: 3.984 kB / 0.5735 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.7293, allocations: 0.7956 MB / 0.5743 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.7294, allocations: 4 kB / 0.5743 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.73, allocations: 63.78 kB / 0.5744 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.73, allocations: 0 / 0.5744 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.7301, allocations: 7.984 kB / 0.5744 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.7301, allocations: 4 kB / 0.5744 GB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.7301, allocations: 0 / 0.5744 GB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.7314, allocations: 0.624 MB / 0.575 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.7315, allocations: 112.8 kB / 0.5751 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.7316, allocations: 7.438 kB / 0.5751 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.7319, allocations: 11.98 kB / 0.5751 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.732, allocations: 15.97 kB / 0.5752 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.7321, allocations: 11.5 kB / 0.5752 GB, free: 7.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003028/0.7324, allocations: 197.3 kB / 0.5754 GB, free: 7.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.697e-06/0.7324, allocations: 0 / 0.5754 GB, free: 7.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007336/0.7331, allocations: 87.94 kB / 0.5754 GB, free: 7.328 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 1 * 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.0002423/0.7334, allocations: 126.2 kB / 0.5756 GB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008357/0.7342, allocations: 331.9 kB / 0.5759 GB, free: 6.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.7343, allocations: 0 / 0.5759 GB, free: 6.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.7346, allocations: 141.1 kB / 0.576 GB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.7352, allocations: 68.84 kB / 0.5761 GB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.7373, allocations: 0.8183 MB / 0.5769 GB, free: 6.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006617/0.738, allocations: 0.8689 MB / 0.5777 GB, free: 5.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.7383, allocations: 39.44 kB / 0.5778 GB, free: 5.117 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7383, allocations: 0 / 0.5778 GB, free: 5.117 MB / 378.7 MB Notification: Performance of Templates: time 0.01311/0.7514, allocations: 4.779 MB / 0.5824 GB, free: 392 kB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)