Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_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_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.002051/0.002051, allocations: 172.2 kB / 16.11 MB, free: 5.695 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.039 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.0007384/0.0007384, allocations: 88.92 kB / 270.6 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3062/0.3062, allocations: 42.29 MB / 361.2 MB, free: 49.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.000411, allocations: 16 kB / 429.4 MB, free: 7.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1244, allocations: 57.56 MB / 487 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3571/0.4816, allocations: 93.02 MB / 0.5664 GB, free: 14.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4819, allocations: 91.94 kB / 0.5665 GB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05822/0.5401, allocations: 21.32 MB / 0.5873 GB, free: 9.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.5402, allocations: 7.094 kB / 0.5873 GB, free: 9.289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.252e-05/0.5402, allocations: 16 kB / 0.5873 GB, free: 9.273 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.00534/0.5456, allocations: 1.764 MB / 0.5891 GB, free: 7.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.5456, allocations: 8.031 kB / 0.5891 GB, free: 7.453 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/0.5489, allocations: 0.5204 MB / 0.5896 GB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.5509, allocations: 0.761 MB / 0.5903 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.5512, allocations: 217.8 kB / 0.5905 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.5514, allocations: 67.84 kB / 0.5906 GB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.5537, allocations: 1.1 MB / 0.5917 GB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.5538, allocations: 0 / 0.5917 GB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/0.5539, allocations: 27.98 kB / 0.5917 GB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.5539, allocations: 16 kB / 0.5917 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.5562, allocations: 1.083 MB / 0.5928 GB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00537/0.5616, allocations: 2.558 MB / 0.5953 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.5644, allocations: 1.134 MB / 0.5964 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.5658, allocations: 0.7958 MB / 0.5972 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.531e-05/0.5659, allocations: 12.64 kB / 0.5972 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.566, allocations: 39.22 kB / 0.5972 GB, free: 14.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 4.548e-06/0.566, allocations: 0 / 0.5972 GB, free: 14.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02686/0.5929, allocations: 8.398 MB / 0.6054 GB, free: 6.539 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.593, allocations: 85.77 kB / 0.6055 GB, free: 6.438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.5945, allocations: 0.7548 MB / 0.6062 GB, free: 5.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002636/0.5948, allocations: 41.7 kB / 0.6063 GB, free: 5.621 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/0.5952, allocations: 404.7 kB / 0.6066 GB, free: 5.223 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.5958, allocations: 279.8 kB / 0.6069 GB, free: 4.945 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.5959, allocations: 12 kB / 0.6069 GB, free: 4.934 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5961, allocations: 333.9 kB / 0.6072 GB, free: 4.602 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.5976, allocations: 0.6462 MB / 0.6079 GB, free: 3.957 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.5992, allocations: 0.7074 MB / 0.6086 GB, free: 3.242 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/0.6128, allocations: 4.296 MB / 0.6128 GB, free: 14.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.6129, allocations: 0 / 0.6128 GB, free: 14.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01453/0.6274, allocations: 4.88 MB / 0.6175 GB, free: 10.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.048e-05/0.6276, allocations: 97 kB / 0.6176 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.6276, allocations: 1.5 kB / 0.6176 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006859/0.6345, allocations: 2.227 MB / 0.6198 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.6352, allocations: 99.83 kB / 0.6199 GB, free: 7.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02395/0.6592, allocations: 10.24 MB / 0.6299 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.6611, allocations: 183.2 kB / 0.6301 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.6613, allocations: 20 kB / 0.6301 GB, free: 13.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.6613, allocations: 4 kB / 0.6301 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01411/0.6754, allocations: 4.746 MB / 0.6347 GB, free: 8.285 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.6755, allocations: 0 / 0.6347 GB, free: 8.285 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006877/0.6824, allocations: 2.218 MB / 0.6369 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.6831, allocations: 83.89 kB / 0.637 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0234/0.7065, allocations: 10.21 MB / 0.6469 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.708, allocations: 175.2 kB / 0.6471 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.7082, allocations: 23.98 kB / 0.6471 GB, free: 11.43 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.0007123/0.7089, allocations: 297.4 kB / 0.6474 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.7092, allocations: 90.88 kB / 0.6475 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.7238, allocations: 4.952 MB / 0.6523 GB, free: 6.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.7239, allocations: 11.94 kB / 0.6523 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7239, allocations: 0 / 0.6523 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.96e-05/0.7239, allocations: 3.984 kB / 0.6523 GB, free: 6.055 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.726, allocations: 1.103 MB / 0.6534 GB, free: 4.902 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.726, allocations: 3.938 kB / 0.6534 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.7265, allocations: 79.91 kB / 0.6535 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006366/0.7329, allocations: 2.163 MB / 0.6556 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/0.7331, allocations: 23.88 kB / 0.6556 GB, free: 2.629 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/0.7535, allocations: 8.835 MB / 0.6643 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.7535, allocations: 0 / 0.6643 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/0.7699, allocations: 5.891 MB / 0.67 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/0.7705, allocations: 187.7 kB / 0.6702 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/0.771, allocations: 20.03 kB / 0.6702 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.7723, allocations: 139.9 kB / 0.6704 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007367/0.7731, allocations: 188.7 kB / 0.6705 GB, free: 3.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.7732, allocations: 23.98 kB / 0.6706 GB, free: 3.168 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001084/0.7743, allocations: 0.5381 MB / 0.6711 GB, free: 2.637 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7743, allocations: 0 / 0.6711 GB, free: 2.637 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002238/0.7766, allocations: 0.5968 MB / 0.6717 GB, free: 2.039 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.0003461/0.7769, allocations: 147.1 kB / 0.6718 GB, free: 1.887 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.2371/1.014, allocations: 4.174 MB / 0.6759 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.014, allocations: 1.438 kB / 0.6759 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005018/1.019, allocations: 1.729 MB / 0.6776 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/1.02, allocations: 85.83 kB / 0.6777 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/1.025, allocations: 2.196 MB / 0.6798 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/1.025, allocations: 1.025 MB / 0.6808 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004284/1.026, allocations: 80.84 kB / 0.6809 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/1.026, allocations: 41.12 kB / 0.6809 GB, free: 129 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/1.026, allocations: 0 / 0.6809 GB, free: 129 MB / 490.7 MB Notification: Performance of Templates: time 0.04174/1.068, allocations: 27.46 MB / 0.7077 GB, free: 127.7 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)