Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002164/0.002164, allocations: 180.7 kB / 8.012 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.12/2.12, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001089/0.001089, allocations: 82.64 kB / 261.8 MB, free: 1.676 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.3077/0.3077, allocations: 37.99 MB / 347.7 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.48e-05/1.476e-05, allocations: 0 / 409.9 MB, free: 35.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5418/0.6506, allocations: 99.43 MB / 0.5524 GB, free: 9.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.6509, allocations: 87.89 kB / 0.5524 GB, free: 9.652 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05479/0.7057, allocations: 13.08 MB / 0.5652 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7058, allocations: 0 / 0.5652 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.7058, allocations: 8 kB / 0.5652 GB, free: 0.832 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001735/0.7076, allocations: 0.6679 MB / 0.5659 GB, free: 152 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.7077, allocations: 12.03 kB / 0.5659 GB, free: 140 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008707/0.7085, allocations: 87.3 kB / 0.566 GB, free: 52 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003581/0.7121, allocations: 0.8477 MB / 0.5668 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.7122, allocations: 19.67 kB / 0.5668 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.7124, allocations: 23.98 kB / 0.5668 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001232/0.7136, allocations: 468.2 kB / 0.5673 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.7149, allocations: 0.5934 MB / 0.5679 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.715, allocations: 7.938 kB / 0.5679 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.7151, allocations: 0 / 0.5679 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/0.7153, allocations: 44.69 kB / 0.5679 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006284/0.7216, allocations: 2.428 MB / 0.5703 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008186/0.7224, allocations: 344.5 kB / 0.5706 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.723, allocations: 262.8 kB / 0.5709 GB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.723, allocations: 4 kB / 0.5709 GB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.7231, allocations: 34.38 kB / 0.5709 GB, free: 11.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 3.446e-06/0.7231, allocations: 0 / 0.5709 GB, free: 11.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.004891/0.728, allocations: 1.559 MB / 0.5724 GB, free: 10.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.7281, allocations: 81.39 kB / 0.5725 GB, free: 10.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.7285, allocations: 238.2 kB / 0.5727 GB, free: 10.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.7285, allocations: 25.7 kB / 0.5727 GB, free: 10.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.7288, allocations: 297.3 kB / 0.573 GB, free: 9.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.729, allocations: 161.1 kB / 0.5732 GB, free: 9.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.729, allocations: 4.031 kB / 0.5732 GB, free: 9.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7292, allocations: 333.4 kB / 0.5735 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.7297, allocations: 213.4 kB / 0.5737 GB, free: 9.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.7303, allocations: 362 kB / 0.5741 GB, free: 8.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.7316, allocations: 386.6 kB / 0.5744 GB, free: 8.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.7317, allocations: 4 kB / 0.5744 GB, free: 8.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002054/0.7337, allocations: 0.7108 MB / 0.5751 GB, free: 8.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.7338, allocations: 7.953 kB / 0.5751 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.7338, allocations: 4 kB / 0.5751 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.7339, allocations: 8 kB / 0.5751 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008561/0.7347, allocations: 116.3 kB / 0.5753 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.7348, allocations: 11.94 kB / 0.5753 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.7353, allocations: 31.95 kB / 0.5753 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.7353, allocations: 19.31 kB / 0.5753 GB, free: 7.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (55): * Single equations (assignments): 52 * Array equations: 3 * 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.0001543/0.7355, allocations: 116.3 kB / 0.5754 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.7356, allocations: 35.53 kB / 0.5755 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.7376, allocations: 0.6385 MB / 0.5761 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/0.7378, allocations: 23.97 kB / 0.5761 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7378, allocations: 0 / 0.5761 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.7378, allocations: 4 kB / 0.5761 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/0.7416, allocations: 1.227 MB / 0.5773 GB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.7417, allocations: 0 / 0.5773 GB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/0.7424, allocations: 79.56 kB / 0.5774 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.7424, allocations: 4 kB / 0.5774 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.7425, allocations: 4 kB / 0.5774 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.7425, allocations: 0 / 0.5774 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.7425, allocations: 8.094 kB / 0.5774 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.7451, allocations: 1.066 MB / 0.5784 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.7452, allocations: 108.8 kB / 0.5785 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.7453, allocations: 2.938 kB / 0.5785 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.7458, allocations: 19.97 kB / 0.5786 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.7459, allocations: 31.02 kB / 0.5786 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.7459, allocations: 11.98 kB / 0.5786 GB, free: 4.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002657/0.7462, allocations: 181.9 kB / 0.5788 GB, free: 4.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.7462, allocations: 0 / 0.5788 GB, free: 4.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007624/0.747, allocations: 115.9 kB / 0.5789 GB, free: 4.719 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 (34): * Single equations (assignments): 30 * Array equations: 3 * 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.0003081/0.7473, allocations: 138.5 kB / 0.579 GB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.7485, allocations: 0.5193 MB / 0.5795 GB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7486, allocations: 3.938 kB / 0.5795 GB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.7491, allocations: 255.2 kB / 0.5798 GB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.7497, allocations: 52.88 kB / 0.5798 GB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.7521, allocations: 0.9785 MB / 0.5808 GB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/0.7528, allocations: 0.8767 MB / 0.5816 GB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.7531, allocations: 42.8 kB / 0.5817 GB, free: 2.172 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7531, allocations: 0 / 0.5817 GB, free: 2.172 MB / 378.7 MB Notification: Performance of Templates: time 0.01425/0.7674, allocations: 5.592 MB / 0.5871 GB, free: 12.63 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)