Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 119.3 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.1 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 188.5 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.467/0.467, allocations: 78.54 MB / 419.1 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 71.88 kB / 0.5543 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2962, allocations: 68.17 MB / 0.6209 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.005295/0.3015, allocations: 6.328 MB / 0.6271 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003574/0.3051, allocations: 1.93 MB / 0.6289 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009716/0.3061, allocations: 12 kB / 0.6289 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009538/0.307, allocations: 234 kB / 0.6292 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.309, allocations: 0.7674 MB / 0.6299 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.3104, allocations: 0.6641 MB / 0.6306 GB, free: 280 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.3121, allocations: 1.46 MB / 0.632 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004807/0.3126, allocations: 312.2 kB / 0.6323 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008681/0.3135, allocations: 0.6029 MB / 0.6329 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009158/0.3144, allocations: 0.7194 MB / 0.6336 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.3147, allocations: 104 kB / 0.6337 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005916/0.3153, allocations: 239.9 kB / 0.6339 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.3156, allocations: 282.8 kB / 0.6342 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006315/0.3162, allocations: 0.6252 MB / 0.6348 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.3179, allocations: 1.546 MB / 0.6363 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3179, allocations: 0 / 0.6363 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3179, allocations: 0 / 0.6363 GB, free: 10.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.67e-05/0.3179, allocations: 0 / 0.6363 GB, free: 10.38 MB / 446.1 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.008257/0.3262, allocations: 2.587 MB / 0.6388 GB, free: 7.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3263, allocations: 8.031 kB / 0.6388 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004956/0.3312, allocations: 0.7757 MB / 0.6396 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3327, allocations: 0.8353 MB / 0.6404 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.333, allocations: 252.2 kB / 0.6407 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.3332, allocations: 76 kB / 0.6407 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.3355, allocations: 1.125 MB / 0.6418 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.3356, allocations: 3.938 kB / 0.6418 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.3357, allocations: 28 kB / 0.6419 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3357, allocations: 20 kB / 0.6419 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.338, allocations: 1.066 MB / 0.6429 GB, free: 3.445 MB / 446.1 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.005966/0.344, allocations: 3.444 MB / 0.6463 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.3462, allocations: 1.435 MB / 0.6477 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.3477, allocations: 0.7344 MB / 0.6484 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.3479, allocations: 20.92 kB / 0.6484 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.3479, allocations: 43.56 kB / 0.6485 GB, free: 13.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.895e-06/0.3479, allocations: 0 / 0.6485 GB, free: 13.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=89): time 0.02632/0.3742, allocations: 6.871 MB / 0.6552 GB, free: 6.574 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3743, allocations: 86.11 kB / 0.6552 GB, free: 6.473 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.3758, allocations: 0.9498 MB / 0.6562 GB, free: 5.504 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.3759, allocations: 45.64 kB / 0.6562 GB, free: 5.453 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.3763, allocations: 485.1 kB / 0.6567 GB, free: 4.973 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/0.3766, allocations: 337.1 kB / 0.657 GB, free: 4.641 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004117/0.3771, allocations: 198.8 kB / 0.6572 GB, free: 4.438 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3772, allocations: 345.9 kB / 0.6575 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.3787, allocations: 0.7048 MB / 0.6582 GB, free: 3.387 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.3804, allocations: 0.8189 MB / 0.659 GB, free: 2.535 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01828/0.3987, allocations: 4.685 MB / 0.6636 GB, free: 13.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3987, allocations: 0 / 0.6636 GB, free: 13.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01373/0.4125, allocations: 4.25 MB / 0.6677 GB, free: 9.551 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.4125, allocations: 8 kB / 0.6677 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4125, allocations: 3.984 kB / 0.6677 GB, free: 9.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006656/0.4192, allocations: 1.795 MB / 0.6695 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/0.4202, allocations: 187.7 kB / 0.6697 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/0.4434, allocations: 9.334 MB / 0.6788 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.445, allocations: 175.2 kB / 0.679 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/0.4453, allocations: 39.98 kB / 0.679 GB, free: 13.87 MB / 494.1 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00221/0.4475, allocations: 0.8604 MB / 0.6798 GB, free: 13.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001677/0.4492, allocations: 0.815 MB / 0.6806 GB, free: 12.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01841/0.4676, allocations: 4.654 MB / 0.6852 GB, free: 7.473 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.574e-06/0.4676, allocations: 7.938 kB / 0.6852 GB, free: 7.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.01354/0.4812, allocations: 4.223 MB / 0.6893 GB, free: 3.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4812, allocations: 5.719 kB / 0.6893 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4812, allocations: 11.94 kB / 0.6893 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006119/0.4874, allocations: 1.792 MB / 0.6911 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009271/0.4883, allocations: 183.8 kB / 0.6913 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/0.5098, allocations: 9.327 MB / 0.7004 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.5113, allocations: 167.3 kB / 0.7005 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.5115, allocations: 39.98 kB / 0.7006 GB, free: 7.562 MB / 0.4981 GB 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.000351/0.5118, allocations: 250.8 kB / 0.7008 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.5121, allocations: 119.2 kB / 0.7009 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.525, allocations: 3.955 MB / 0.7048 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.525, allocations: 7.922 kB / 0.7048 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.525, allocations: 0 / 0.7048 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.5253, allocations: 216.1 kB / 0.705 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.5255, allocations: 16 kB / 0.705 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.5266, allocations: 107.9 kB / 0.7051 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001168/0.5278, allocations: 492.2 kB / 0.7056 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005666/0.5335, allocations: 1.997 MB / 0.7075 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004511/0.538, allocations: 2.21 MB / 0.7097 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001315/0.5393, allocations: 0.5817 MB / 0.7103 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001062/0.5404, allocations: 0.6471 MB / 0.7109 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of Backend: time 5.11e-07/0.5404, allocations: 0 / 0.7109 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0111/0.5515, allocations: 3.718 MB / 0.7145 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003673/0.5552, allocations: 2.63 MB / 0.7171 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of Templates: time 0.04901/0.6042, allocations: 33.46 MB / 0.7498 GB, free: 5.008 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)