Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_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_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.00171/0.00171, allocations: 172.1 kB / 16.12 MB, free: 5.668 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.451/1.451, 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.0007722/0.0007724, allocations: 84.17 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2957/0.2957, allocations: 42.29 MB / 361.2 MB, free: 49.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 16 kB / 429.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09854, allocations: 57.56 MB / 487 MB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2945/0.3931, allocations: 96.27 MB / 0.5696 GB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.3934, allocations: 85.89 kB / 0.5697 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07087/0.4643, allocations: 26.62 MB / 0.5957 GB, free: 0.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4643, allocations: 0 / 0.5957 GB, free: 0.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.434e-05/0.4644, allocations: 28 kB / 0.5957 GB, free: 0.6406 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005224/0.4696, allocations: 2.06 MB / 0.5977 GB, free: 14.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.4697, allocations: 8.031 kB / 0.5977 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.4728, allocations: 0.5668 MB / 0.5983 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.4745, allocations: 0.9138 MB / 0.5992 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.4748, allocations: 246.4 kB / 0.5994 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.475, allocations: 87.94 kB / 0.5995 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.4776, allocations: 1.424 MB / 0.6009 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.779e-05/0.4777, allocations: 2.25 kB / 0.6009 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.4779, allocations: 44 kB / 0.6009 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.4779, allocations: 24 kB / 0.6009 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/0.4807, allocations: 1.331 MB / 0.6022 GB, free: 9.773 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006142/0.4868, allocations: 3.729 MB / 0.6059 GB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.4901, allocations: 1.441 MB / 0.6073 GB, free: 4.508 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.4918, allocations: 0.9174 MB / 0.6082 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.4919, allocations: 21.55 kB / 0.6082 GB, free: 3.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.492, allocations: 47.56 kB / 0.6082 GB, free: 3.516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=104): time 3.086e-06/0.492, allocations: 0 / 0.6082 GB, free: 3.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=104): time 0.02648/0.5185, allocations: 8.435 MB / 0.6165 GB, free: 11.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.5186, allocations: 111.8 kB / 0.6166 GB, free: 10.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.5201, allocations: 0.9296 MB / 0.6175 GB, free: 9.961 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.5203, allocations: 45.7 kB / 0.6175 GB, free: 9.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.5207, allocations: 0.5163 MB / 0.618 GB, free: 9.387 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.5211, allocations: 362.6 kB / 0.6184 GB, free: 9.027 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.5212, allocations: 20 kB / 0.6184 GB, free: 9.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5213, allocations: 349.9 kB / 0.6187 GB, free: 8.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.5229, allocations: 0.7555 MB / 0.6195 GB, free: 7.906 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.5246, allocations: 0.8694 MB / 0.6203 GB, free: 7.004 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/0.5391, allocations: 4.794 MB / 0.625 GB, free: 2.191 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5391, allocations: 7.875 kB / 0.625 GB, free: 2.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01507/0.5542, allocations: 5.188 MB / 0.6301 GB, free: 12.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-05/0.5543, allocations: 139.5 kB / 0.6302 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5544, allocations: 0 / 0.6302 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006797/0.5612, allocations: 2.223 MB / 0.6324 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/0.5621, allocations: 163.8 kB / 0.6325 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02305/0.5851, allocations: 10.23 MB / 0.6425 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.5868, allocations: 227 kB / 0.6428 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.5869, allocations: 35.98 kB / 0.6428 GB, free: 15.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.5869, allocations: 4 kB / 0.6428 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01421/0.6011, allocations: 4.995 MB / 0.6477 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.6012, allocations: 0 / 0.6477 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006769/0.608, allocations: 2.23 MB / 0.6499 GB, free: 8.562 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/0.609, allocations: 147.8 kB / 0.65 GB, free: 8.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/0.6315, allocations: 10.2 MB / 0.6599 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.6331, allocations: 207.1 kB / 0.6601 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.6333, allocations: 28 kB / 0.6602 GB, free: 13.85 MB / 490.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.0007026/0.634, allocations: 374 kB / 0.6605 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.6342, allocations: 118.5 kB / 0.6606 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/0.6504, allocations: 5.213 MB / 0.6657 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.6505, allocations: 16 kB / 0.6657 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6505, allocations: 0 / 0.6657 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/0.6506, allocations: 7.969 kB / 0.6658 GB, free: 8.105 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.6529, allocations: 1.335 MB / 0.6671 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.6529, allocations: 0 / 0.6671 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/0.6536, allocations: 127.8 kB / 0.6672 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006386/0.66, allocations: 2.167 MB / 0.6693 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/0.6603, allocations: 20 kB / 0.6693 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2203/0.8806, allocations: 8.806 MB / 0.6779 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8806, allocations: 1.062 kB / 0.6779 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/0.8965, allocations: 6.3 MB / 0.6841 GB, free: 123.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.8968, allocations: 214.1 kB / 0.6843 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.897, allocations: 23.69 kB / 0.6843 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.8981, allocations: 163.9 kB / 0.6845 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007063/0.8989, allocations: 207.3 kB / 0.6847 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.446e-05/0.899, allocations: 25.81 kB / 0.6847 GB, free: 123.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000985/0.9, allocations: 0.653 MB / 0.6853 GB, free: 123.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9, allocations: 0 / 0.6853 GB, free: 123.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001615/0.9016, allocations: 0.7021 MB / 0.686 GB, free: 123.1 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.0002751/0.9019, allocations: 153.9 kB / 0.6861 GB, free: 123 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01043/0.9123, allocations: 4.594 MB / 0.6906 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9124, allocations: 3.969 kB / 0.6906 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00446/0.9168, allocations: 1.845 MB / 0.6924 GB, free: 122.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.9179, allocations: 154.5 kB / 0.6926 GB, free: 122.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.9224, allocations: 2.772 MB / 0.6953 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.9229, allocations: 1.155 MB / 0.6964 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005391/0.9235, allocations: 132.3 kB / 0.6965 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.9237, allocations: 60.55 kB / 0.6966 GB, free: 120.4 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/0.9237, allocations: 7.062 kB / 0.6966 GB, free: 120.4 MB / 490.7 MB Notification: Performance of Templates: time 0.04537/0.9691, allocations: 30.03 MB / 0.7259 GB, free: 118.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)