Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008365/0.0008368, allocations: 179.3 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.3 MB / 239.5 MB, free: 1.613 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007839/0.000784, allocations: 101.7 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4503/0.4503, allocations: 78.61 MB / 420.4 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004806, allocations: 11.98 kB / 0.4888 GB, free: 2.516 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3588, allocations: 69.35 MB / 0.5565 GB, free: 39.1 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.005688/0.3645, allocations: 6.193 MB / 0.5626 GB, free: 36.44 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.3687, allocations: 1.968 MB / 0.5645 GB, free: 35.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.3698, allocations: 13 kB / 0.5645 GB, free: 35.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.3705, allocations: 181.8 kB / 0.5647 GB, free: 35.58 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.3727, allocations: 0.6402 MB / 0.5653 GB, free: 35.27 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.3743, allocations: 0.6086 MB / 0.5659 GB, free: 35.16 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.3761, allocations: 1.383 MB / 0.5672 GB, free: 34.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.3766, allocations: 285.8 kB / 0.5675 GB, free: 34.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00067/0.3772, allocations: 0.5274 MB / 0.568 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/0.3779, allocations: 0.6539 MB / 0.5687 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.3781, allocations: 52.06 kB / 0.5687 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.3785, allocations: 183 kB / 0.5689 GB, free: 33.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.3787, allocations: 231 kB / 0.5691 GB, free: 33.71 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.3791, allocations: 0.5754 MB / 0.5697 GB, free: 33.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3801, allocations: 1.439 MB / 0.5711 GB, free: 32.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3801, allocations: 2.875 kB / 0.5711 GB, free: 32.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3801, allocations: 4 kB / 0.5711 GB, free: 32.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.3802, allocations: 0 / 0.5711 GB, free: 32.76 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006678/0.3868, allocations: 2.355 MB / 0.5734 GB, free: 31.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3869, allocations: 11.12 kB / 0.5734 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/0.3916, allocations: 0.7903 MB / 0.5742 GB, free: 31.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.3931, allocations: 0.8104 MB / 0.575 GB, free: 31.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.3934, allocations: 271.2 kB / 0.5752 GB, free: 30.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.3935, allocations: 77.91 kB / 0.5753 GB, free: 30.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.3957, allocations: 1.2 MB / 0.5765 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.3958, allocations: 3.938 kB / 0.5765 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.484e-05/0.3958, allocations: 30.06 kB / 0.5765 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.3959, allocations: 18.12 kB / 0.5765 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.3979, allocations: 1.168 MB / 0.5776 GB, free: 29.96 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005512/0.4034, allocations: 3.527 MB / 0.5811 GB, free: 27.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.4053, allocations: 1.518 MB / 0.5826 GB, free: 27.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.4067, allocations: 0.8206 MB / 0.5834 GB, free: 26.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.4068, allocations: 12.5 kB / 0.5834 GB, free: 26.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.4068, allocations: 42.56 kB / 0.5834 GB, free: 26.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 2.745e-06/0.4068, allocations: 0 / 0.5834 GB, free: 26.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02503/0.4319, allocations: 8.495 MB / 0.5917 GB, free: 25.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.432, allocations: 86.58 kB / 0.5918 GB, free: 25.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.4333, allocations: 0.9486 MB / 0.5927 GB, free: 24.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.4335, allocations: 41.83 kB / 0.5928 GB, free: 24.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.4338, allocations: 479.4 kB / 0.5932 GB, free: 24.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.434, allocations: 325.8 kB / 0.5935 GB, free: 24.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.4342, allocations: 100.3 kB / 0.5936 GB, free: 24.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.4343, allocations: 348.6 kB / 0.594 GB, free: 23.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.4357, allocations: 0.7701 MB / 0.5947 GB, free: 23.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.4373, allocations: 0.9072 MB / 0.5956 GB, free: 23.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/0.4545, allocations: 5.203 MB / 0.6007 GB, free: 21.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.4545, allocations: 9.469 kB / 0.6007 GB, free: 21.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01451/0.4691, allocations: 5.163 MB / 0.6057 GB, free: 20.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-05/0.4692, allocations: 159.1 kB / 0.6059 GB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4692, allocations: 2.406 kB / 0.6059 GB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006329/0.4755, allocations: 2.099 MB / 0.6079 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/0.4765, allocations: 197.7 kB / 0.6081 GB, free: 20 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.495, allocations: 9.583 MB / 0.6175 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.4965, allocations: 211 kB / 0.6177 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.4967, allocations: 43.98 kB / 0.6177 GB, free: 10.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.4967, allocations: 4 kB / 0.6177 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01196/0.5087, allocations: 5.011 MB / 0.6226 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.5087, allocations: 4 kB / 0.6226 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005428/0.5141, allocations: 2.108 MB / 0.6247 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000854/0.515, allocations: 187.7 kB / 0.6249 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/0.534, allocations: 9.551 MB / 0.6342 GB, free: 9.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.5355, allocations: 203.1 kB / 0.6344 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.5356, allocations: 35.98 kB / 0.6344 GB, free: 9.703 MB / 442.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.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: 9 * 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 (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005267/0.5361, allocations: 326.5 kB / 0.6347 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.5363, allocations: 114.5 kB / 0.6348 GB, free: 9.258 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.5492, allocations: 4.873 MB / 0.6396 GB, free: 4.367 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.5493, allocations: 8 kB / 0.6396 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5493, allocations: 0 / 0.6396 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/0.5493, allocations: 3.984 kB / 0.6396 GB, free: 4.355 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.5644, allocations: 6.464 MB / 0.6459 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.5644, allocations: 0 / 0.6459 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.565, allocations: 111.9 kB / 0.646 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005837/0.5709, allocations: 2.053 MB / 0.648 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/0.5711, allocations: 28 kB / 0.6481 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0171/0.5882, allocations: 8.211 MB / 0.6561 GB, free: 3.211 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5882, allocations: 0 / 0.6561 GB, free: 3.211 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.6032, allocations: 5.833 MB / 0.6618 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.6037, allocations: 211.5 kB / 0.662 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.6041, allocations: 16 kB / 0.662 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.6052, allocations: 151.8 kB / 0.6621 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006645/0.6059, allocations: 204.5 kB / 0.6623 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-05/0.606, allocations: 24 kB / 0.6624 GB, free: 12.74 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.607, allocations: 0.6509 MB / 0.663 GB, free: 12.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.607, allocations: 0 / 0.663 GB, free: 12.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00213/0.6091, allocations: 0.6982 MB / 0.6637 GB, free: 11.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002582/0.6094, allocations: 134.1 kB / 0.6638 GB, free: 11.24 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01126/0.6207, allocations: 4.642 MB / 0.6683 GB, free: 6.586 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6207, allocations: 0 / 0.6683 GB, free: 6.586 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004556/0.6253, allocations: 1.74 MB / 0.67 GB, free: 4.828 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.6264, allocations: 100.3 kB / 0.6701 GB, free: 4.727 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.6307, allocations: 2.565 MB / 0.6726 GB, free: 2.141 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.6314, allocations: 1.101 MB / 0.6737 GB, free: 1.012 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005168/0.6319, allocations: 118.8 kB / 0.6738 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.6321, allocations: 63.42 kB / 0.6739 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6321, allocations: 0 / 0.6739 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of Templates: time 0.04258/0.6747, allocations: 28.16 MB / 0.7014 GB, free: 4.707 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)