Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001858/0.001858, allocations: 173.6 kB / 16.12 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 222.3 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008624/0.0008624, allocations: 89.05 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3426/0.3426, allocations: 42.3 MB / 361.2 MB, free: 49.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005937/0.0005939, allocations: 16 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1221, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.4736, allocations: 93.02 MB / 0.5664 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4739, allocations: 85.77 kB / 0.5665 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05849/0.5324, allocations: 21.32 MB / 0.5873 GB, free: 9.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5325, allocations: 4 kB / 0.5873 GB, free: 9.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.812e-05/0.5325, allocations: 16 kB / 0.5873 GB, free: 9.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.005228/0.5378, allocations: 1.764 MB / 0.5891 GB, free: 7.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5378, allocations: 8.031 kB / 0.5891 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/0.541, allocations: 0.5243 MB / 0.5896 GB, free: 6.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.5428, allocations: 0.7571 MB / 0.5903 GB, free: 6.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.5431, allocations: 213.8 kB / 0.5905 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.5433, allocations: 67.84 kB / 0.5906 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.5456, allocations: 1.1 MB / 0.5917 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.5456, allocations: 0 / 0.5917 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.5457, allocations: 28 kB / 0.5917 GB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.5457, allocations: 16 kB / 0.5917 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.548, allocations: 1.083 MB / 0.5928 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005085/0.5531, allocations: 2.562 MB / 0.5953 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.5557, allocations: 1.133 MB / 0.5964 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.5572, allocations: 0.7958 MB / 0.5972 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.324e-05/0.5573, allocations: 8.656 kB / 0.5972 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.5573, allocations: 51.16 kB / 0.5972 GB, free: 14.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.076e-06/0.5573, allocations: 0 / 0.5972 GB, free: 14.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02842/0.5858, allocations: 8.394 MB / 0.6054 GB, free: 6.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.5859, allocations: 85.77 kB / 0.6055 GB, free: 6.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.5872, allocations: 0.7625 MB / 0.6062 GB, free: 5.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002189/0.5874, allocations: 41.7 kB / 0.6063 GB, free: 5.586 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.5878, allocations: 400.7 kB / 0.6067 GB, free: 5.191 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.5881, allocations: 279.8 kB / 0.6069 GB, free: 4.914 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.5882, allocations: 16 kB / 0.6069 GB, free: 4.898 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5883, allocations: 330 kB / 0.6073 GB, free: 4.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.5897, allocations: 0.6501 MB / 0.6079 GB, free: 3.922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.5912, allocations: 0.7112 MB / 0.6086 GB, free: 3.203 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01395/0.6052, allocations: 4.284 MB / 0.6128 GB, free: 14.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.6052, allocations: 0 / 0.6128 GB, free: 14.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01432/0.6195, allocations: 4.88 MB / 0.6175 GB, free: 10.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.6197, allocations: 101 kB / 0.6176 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6197, allocations: 7.984 kB / 0.6176 GB, free: 9.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006795/0.6265, allocations: 2.223 MB / 0.6198 GB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.6272, allocations: 95.89 kB / 0.6199 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/0.6504, allocations: 10.23 MB / 0.6299 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.6517, allocations: 179.2 kB / 0.6301 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.6518, allocations: 23.98 kB / 0.6301 GB, free: 13.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.6519, allocations: 4 kB / 0.6301 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01415/0.666, allocations: 4.746 MB / 0.6347 GB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6661, allocations: 0 / 0.6347 GB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006951/0.673, allocations: 2.226 MB / 0.6369 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.6737, allocations: 83.91 kB / 0.637 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/0.697, allocations: 10.21 MB / 0.6469 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.6984, allocations: 171.2 kB / 0.6471 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.502e-05/0.6986, allocations: 27.94 kB / 0.6471 GB, free: 11.4 MB / 474.7 MB Warning: Assuming fixed start value for the following 3 variables: gen.e1q:VARIABLE(start = gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 15} Notification: Performance of prepare postOptimizeDAE: time 0.0006032/0.6992, allocations: 299.2 kB / 0.6474 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.6994, allocations: 90.88 kB / 0.6475 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.7135, allocations: 4.956 MB / 0.6523 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.7136, allocations: 11.94 kB / 0.6524 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7136, allocations: 0 / 0.6524 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.566e-05/0.7136, allocations: 3.984 kB / 0.6524 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.7156, allocations: 1.099 MB / 0.6534 GB, free: 4.867 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.7156, allocations: 4 kB / 0.6534 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.716, allocations: 83.89 kB / 0.6535 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006374/0.7224, allocations: 2.167 MB / 0.6556 GB, free: 2.609 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/0.7227, allocations: 16 kB / 0.6556 GB, free: 2.594 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.7424, allocations: 8.835 MB / 0.6643 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7425, allocations: 0 / 0.6643 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.7582, allocations: 5.887 MB / 0.67 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.7587, allocations: 183.8 kB / 0.6702 GB, free: 3.504 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.7588, allocations: 19.98 kB / 0.6702 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.7598, allocations: 143.9 kB / 0.6704 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006193/0.7605, allocations: 188.7 kB / 0.6705 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/0.7605, allocations: 16 kB / 0.6705 GB, free: 3.145 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008365/0.7614, allocations: 0.5419 MB / 0.6711 GB, free: 2.609 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7614, allocations: 0 / 0.6711 GB, free: 2.609 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00184/0.7632, allocations: 0.5968 MB / 0.6717 GB, free: 2.012 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003074/0.7636, allocations: 151.2 kB / 0.6718 GB, free: 1.855 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.2051/0.9686, allocations: 4.176 MB / 0.6759 GB, free: 130.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.9687, allocations: 1.125 kB / 0.6759 GB, free: 130.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004776/0.9735, allocations: 1.721 MB / 0.6776 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.9745, allocations: 90.84 kB / 0.6777 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.9793, allocations: 2.191 MB / 0.6798 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007913/0.9801, allocations: 1.032 MB / 0.6808 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004759/0.9806, allocations: 75.88 kB / 0.6809 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.9808, allocations: 43.86 kB / 0.6809 GB, free: 128.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9808, allocations: 5.406 kB / 0.6809 GB, free: 128.9 MB / 490.7 MB Notification: Performance of Templates: time 0.04152/1.022, allocations: 27.46 MB / 0.7077 GB, free: 127.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)