Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0018/0.0018, allocations: 175.4 kB / 16.11 MB, free: 5.57 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.534/1.535, allocations: 205.4 MB / 222.3 MB, free: 13.77 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.0008068/0.0008069, allocations: 86.31 kB / 270.6 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1623/0.1623, allocations: 42.31 MB / 361.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003851, allocations: 13 kB / 429.4 MB, free: 21.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1032, allocations: 57.54 MB / 487 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.4476, allocations: 96.28 MB / 0.5696 GB, free: 7.906 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4479, allocations: 90.69 kB / 0.5697 GB, free: 7.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07244/0.5204, allocations: 26.65 MB / 0.5957 GB, free: 1.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5204, allocations: 0 / 0.5957 GB, free: 1.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001743/0.5206, allocations: 28 kB / 0.5957 GB, free: 1.293 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.006704/0.5273, allocations: 2.051 MB / 0.5977 GB, free: 15.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5274, allocations: 15.95 kB / 0.5977 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/0.5308, allocations: 0.5649 MB / 0.5983 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.5333, allocations: 0.915 MB / 0.5992 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.5336, allocations: 235.2 kB / 0.5994 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.5339, allocations: 93.69 kB / 0.5995 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/0.537, allocations: 1.423 MB / 0.6009 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.537, allocations: 0 / 0.6009 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.5371, allocations: 39.75 kB / 0.6009 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.5372, allocations: 24 kB / 0.6009 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/0.5401, allocations: 1.335 MB / 0.6022 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006872/0.547, allocations: 3.733 MB / 0.6059 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/0.5503, allocations: 1.441 MB / 0.6073 GB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.5521, allocations: 0.9162 MB / 0.6082 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.5522, allocations: 17.56 kB / 0.6082 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.5522, allocations: 44.44 kB / 0.6082 GB, free: 7.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 3.807e-06/0.5523, allocations: 0 / 0.6082 GB, free: 7.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.02684/0.5791, allocations: 8.436 MB / 0.6165 GB, free: 15.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.01e-05/0.5792, allocations: 115.8 kB / 0.6166 GB, free: 15.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.5812, allocations: 0.9329 MB / 0.6175 GB, free: 14.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003274/0.5815, allocations: 43.64 kB / 0.6175 GB, free: 14.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.582, allocations: 0.5186 MB / 0.6181 GB, free: 14.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006123/0.5826, allocations: 361.1 kB / 0.6184 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.5827, allocations: 17.88 kB / 0.6184 GB, free: 13.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.5829, allocations: 347.9 kB / 0.6187 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.5847, allocations: 0.755 MB / 0.6195 GB, free: 13.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.5865, allocations: 0.8708 MB / 0.6203 GB, free: 12.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/0.6012, allocations: 4.797 MB / 0.625 GB, free: 8.285 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6013, allocations: 4 kB / 0.625 GB, free: 8.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01521/0.6165, allocations: 5.188 MB / 0.6301 GB, free: 3.074 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.6167, allocations: 142.7 kB / 0.6302 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.6167, allocations: 0 / 0.6302 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00692/0.6236, allocations: 2.223 MB / 0.6324 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009874/0.6247, allocations: 167.7 kB / 0.6326 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/0.649, allocations: 10.22 MB / 0.6425 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.6508, allocations: 227 kB / 0.6428 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/0.6511, allocations: 35.98 kB / 0.6428 GB, free: 5.902 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.6511, allocations: 4 kB / 0.6428 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01455/0.6657, allocations: 5.011 MB / 0.6477 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.6657, allocations: 0 / 0.6477 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006826/0.6726, allocations: 2.218 MB / 0.6499 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/0.6735, allocations: 143.8 kB / 0.65 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0239/0.6974, allocations: 10.2 MB / 0.66 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.6993, allocations: 211 kB / 0.6602 GB, free: 3.961 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.6995, allocations: 35.98 kB / 0.6602 GB, free: 3.926 MB / 458.7 MB Warning: Assuming fixed start value for the following 7 variables: tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real 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 tGTypeVI.transferFunction.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: 7 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.00112/0.7006, allocations: 360.8 kB / 0.6605 GB, free: 3.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.7011, allocations: 126.4 kB / 0.6607 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/0.7162, allocations: 5.209 MB / 0.6657 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/0.7163, allocations: 12 kB / 0.6658 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7163, allocations: 0 / 0.6658 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.945e-05/0.7163, allocations: 3.984 kB / 0.6658 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.7193, allocations: 1.343 MB / 0.6671 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.7194, allocations: 4 kB / 0.6671 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008472/0.7202, allocations: 127.8 kB / 0.6672 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006735/0.727, allocations: 2.159 MB / 0.6693 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/0.7273, allocations: 23.98 kB / 0.6693 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02053/0.7478, allocations: 8.823 MB / 0.6779 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7479, allocations: 0 / 0.6779 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/0.7651, allocations: 6.305 MB / 0.6841 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.7657, allocations: 211.3 kB / 0.6843 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.766, allocations: 20 kB / 0.6843 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.7674, allocations: 167.8 kB / 0.6845 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007629/0.7681, allocations: 208.6 kB / 0.6847 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.7683, allocations: 24 kB / 0.6847 GB, free: 10.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001427/0.7697, allocations: 0.6505 MB / 0.6853 GB, free: 9.891 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7697, allocations: 4 kB / 0.6853 GB, free: 9.887 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002537/0.7723, allocations: 0.7097 MB / 0.686 GB, free: 9.176 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.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 (67): * Single equations (assignments): 66 * 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.0003976/0.7727, allocations: 147.1 kB / 0.6862 GB, free: 9.027 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01262/0.7853, allocations: 4.595 MB / 0.6907 GB, free: 4.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.7854, allocations: 0 / 0.6907 GB, free: 4.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005164/0.7906, allocations: 1.864 MB / 0.6925 GB, free: 2.535 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.7921, allocations: 144.2 kB / 0.6926 GB, free: 2.395 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/0.7976, allocations: 2.75 MB / 0.6953 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008847/0.7985, allocations: 1.164 MB / 0.6964 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0006154/0.7992, allocations: 134.9 kB / 0.6966 GB, free: 14.28 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.7994, allocations: 59.42 kB / 0.6966 GB, free: 14.22 MB / 0.4949 GB Notification: Performance of SimCode: time 7.72e-07/0.7994, allocations: 0 / 0.6966 GB, free: 14.22 MB / 0.4949 GB Notification: Performance of Templates: time 0.247/1.046, allocations: 30.01 MB / 0.7259 GB, free: 156.6 MB / 0.4949 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)