Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009983/0.0009984, allocations: 170.1 kB / 16.11 MB, free: 5.586 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.562/1.562, allocations: 205.4 MB / 222.3 MB, free: 9.012 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.0008351/0.0008351, allocations: 98.34 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.2924/0.2924, allocations: 42.29 MB / 361.2 MB, free: 49.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004114, allocations: 16 kB / 429.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1215, allocations: 57.56 MB / 487 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.4846, allocations: 91.5 MB / 0.5649 GB, free: 276 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4849, allocations: 89.67 kB / 0.565 GB, free: 188 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05489/0.5398, allocations: 19.95 MB / 0.5845 GB, free: 12.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5398, allocations: 0 / 0.5845 GB, free: 12.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.698e-05/0.5399, allocations: 16 kB / 0.5845 GB, free: 12.14 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.004674/0.5445, allocations: 1.686 MB / 0.5862 GB, free: 10.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5446, allocations: 8.031 kB / 0.5862 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.5477, allocations: 0.5204 MB / 0.5867 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.5489, allocations: 0.6636 MB / 0.5873 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/0.5492, allocations: 251.4 kB / 0.5876 GB, free: 8.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.5493, allocations: 60 kB / 0.5876 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.5514, allocations: 1.05 MB / 0.5887 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.5514, allocations: 0 / 0.5887 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/0.5515, allocations: 31.94 kB / 0.5887 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.5515, allocations: 12 kB / 0.5887 GB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.5536, allocations: 1.032 MB / 0.5897 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004519/0.5581, allocations: 2.485 MB / 0.5921 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/0.5607, allocations: 1.11 MB / 0.5932 GB, free: 3.035 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.5622, allocations: 0.7724 MB / 0.594 GB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.039e-05/0.5623, allocations: 17.97 kB / 0.594 GB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.5623, allocations: 43.2 kB / 0.594 GB, free: 2.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.535e-06/0.5623, allocations: 0 / 0.594 GB, free: 2.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.02603/0.5883, allocations: 8.378 MB / 0.6022 GB, free: 9.777 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.5884, allocations: 60.06 kB / 0.6023 GB, free: 9.707 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000908/0.5894, allocations: 0.6528 MB / 0.6029 GB, free: 9.043 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.5895, allocations: 37.7 kB / 0.6029 GB, free: 9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.5898, allocations: 348.8 kB / 0.6033 GB, free: 8.652 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.5901, allocations: 279.9 kB / 0.6035 GB, free: 8.375 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.5901, allocations: 16 kB / 0.6036 GB, free: 8.359 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5903, allocations: 333.9 kB / 0.6039 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.5916, allocations: 0.6423 MB / 0.6045 GB, free: 7.387 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.5929, allocations: 0.6569 MB / 0.6051 GB, free: 6.727 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/0.6059, allocations: 4.295 MB / 0.6093 GB, free: 2.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.606, allocations: 2.531 kB / 0.6093 GB, free: 2.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01379/0.6198, allocations: 4.857 MB / 0.6141 GB, free: 13.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.6198, allocations: 4 kB / 0.6141 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.6199, allocations: 3.938 kB / 0.6141 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006504/0.6264, allocations: 2.227 MB / 0.6163 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.627, allocations: 95.89 kB / 0.6164 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02201/0.6491, allocations: 10.22 MB / 0.6263 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.6503, allocations: 171.2 kB / 0.6265 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/0.6504, allocations: 28 kB / 0.6265 GB, free: 0.6719 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 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 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 (52): * Single equations (assignments): 51 * 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.0004499/0.6508, allocations: 197.7 kB / 0.6267 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.651, allocations: 90.91 kB / 0.6268 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.6642, allocations: 4.905 MB / 0.6316 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.6643, allocations: 8 kB / 0.6316 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6643, allocations: 4 kB / 0.6316 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-05/0.6644, allocations: 3.984 kB / 0.6316 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.6661, allocations: 1.056 MB / 0.6326 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6661, allocations: 4 kB / 0.6326 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.6666, allocations: 75.91 kB / 0.6327 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006034/0.6726, allocations: 2.163 MB / 0.6348 GB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.6728, allocations: 19.98 kB / 0.6348 GB, free: 8.066 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01868/0.6915, allocations: 8.807 MB / 0.6434 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6916, allocations: 0 / 0.6434 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/0.707, allocations: 5.842 MB / 0.6491 GB, free: 9.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.7074, allocations: 175.9 kB / 0.6493 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.7076, allocations: 16 kB / 0.6493 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.7088, allocations: 127.9 kB / 0.6495 GB, free: 8.918 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006504/0.7094, allocations: 192.3 kB / 0.6496 GB, free: 8.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.7095, allocations: 31.98 kB / 0.6497 GB, free: 8.699 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006074/0.7101, allocations: 459 kB / 0.6501 GB, free: 8.254 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7101, allocations: 4 kB / 0.6501 GB, free: 8.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001127/0.7113, allocations: 383.5 kB / 0.6505 GB, free: 7.875 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (43): * Single equations (assignments): 42 * 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.0002945/0.7116, allocations: 143 kB / 0.6506 GB, free: 7.727 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006175/0.7177, allocations: 2.435 MB / 0.653 GB, free: 5.281 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7178, allocations: 0 / 0.653 GB, free: 5.281 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004495/0.7223, allocations: 1.714 MB / 0.6547 GB, free: 3.551 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008982/0.7232, allocations: 77.08 kB / 0.6547 GB, free: 3.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.7273, allocations: 2.122 MB / 0.6568 GB, free: 1.332 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.7279, allocations: 0.9818 MB / 0.6578 GB, free: 328 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.7282, allocations: 52.95 kB / 0.6578 GB, free: 272 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.7284, allocations: 39.44 kB / 0.6579 GB, free: 232 kB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7284, allocations: 0 / 0.6579 GB, free: 232 kB / 474.7 MB Notification: Performance of Templates: time 0.2752/1.004, allocations: 19.43 MB / 0.6768 GB, free: 131.6 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)