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.002227/0.002227, allocations: 168.7 kB / 16.1 MB, free: 5.691 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.494/1.494, allocations: 223.3 MB / 240.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007821/0.0007821, allocations: 81.11 kB / 291.3 MB, free: 10.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.5319/0.5319, allocations: 78.61 MB / 421 MB, free: 9.141 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004467, allocations: 8 kB / 0.4894 GB, free: 9.316 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3425, allocations: 69.35 MB / 0.5571 GB, free: 18.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.00453/0.3471, allocations: 6.198 MB / 0.5632 GB, free: 12.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.3501, allocations: 1.965 MB / 0.5651 GB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.3506, allocations: 12 kB / 0.5651 GB, free: 10.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.3511, allocations: 178.8 kB / 0.5653 GB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.3524, allocations: 0.6599 MB / 0.5659 GB, free: 9.797 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3534, allocations: 0.614 MB / 0.5665 GB, free: 9.191 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008846/0.3543, allocations: 1.382 MB / 0.5679 GB, free: 7.801 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.3547, allocations: 275.4 kB / 0.5681 GB, free: 7.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.3551, allocations: 0.5286 MB / 0.5687 GB, free: 6.992 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.3557, allocations: 0.653 MB / 0.5693 GB, free: 6.336 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.3558, allocations: 52 kB / 0.5693 GB, free: 6.285 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.3561, allocations: 187.8 kB / 0.5695 GB, free: 6.102 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.3563, allocations: 222.8 kB / 0.5697 GB, free: 5.883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.3566, allocations: 0.58 MB / 0.5703 GB, free: 5.293 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000735/0.3574, allocations: 1.134 MB / 0.5714 GB, free: 4.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3574, allocations: 3.938 kB / 0.5714 GB, free: 4.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3574, allocations: 0 / 0.5714 GB, free: 4.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.3574, allocations: 0 / 0.5714 GB, free: 4.152 MB / 378.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.006288/0.3637, allocations: 2.362 MB / 0.5737 GB, free: 1.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3638, allocations: 8.031 kB / 0.5737 GB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004345/0.3681, allocations: 0.7788 MB / 0.5745 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.3692, allocations: 0.815 MB / 0.5753 GB, free: 80 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/0.3695, allocations: 264.2 kB / 0.5755 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.3696, allocations: 87.88 kB / 0.5756 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.3719, allocations: 1.2 MB / 0.5768 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3719, allocations: 3.938 kB / 0.5768 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.372, allocations: 24 kB / 0.5768 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.372, allocations: 20 kB / 0.5768 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.3743, allocations: 1.175 MB / 0.578 GB, free: 13.26 MB / 394.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.005762/0.3801, allocations: 3.517 MB / 0.5814 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.3824, allocations: 1.512 MB / 0.5829 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.384, allocations: 0.8204 MB / 0.5837 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.3841, allocations: 24.92 kB / 0.5837 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3841, allocations: 39.56 kB / 0.5838 GB, free: 7.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=89): time 1.267e-05/0.3842, allocations: 0 / 0.5838 GB, free: 7.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=89): time 0.02625/0.4104, allocations: 8.499 MB / 0.5921 GB, free: 14.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.4105, allocations: 86.11 kB / 0.5921 GB, free: 14.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.412, allocations: 0.9496 MB / 0.5931 GB, free: 13.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.4121, allocations: 45.7 kB / 0.5931 GB, free: 13.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.4125, allocations: 484.5 kB / 0.5936 GB, free: 12.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.4129, allocations: 323.4 kB / 0.5939 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.413, allocations: 101.7 kB / 0.594 GB, free: 12.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4132, allocations: 345.9 kB / 0.5943 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.4147, allocations: 0.7717 MB / 0.5951 GB, free: 11.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.4165, allocations: 0.9087 MB / 0.596 GB, free: 10.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01741/0.4339, allocations: 5.199 MB / 0.601 GB, free: 5.211 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-05/0.4339, allocations: 7.938 kB / 0.601 GB, free: 5.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01377/0.4477, allocations: 5.163 MB / 0.6061 GB, free: 24 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.4479, allocations: 161 kB / 0.6062 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4479, allocations: 0 / 0.6062 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006234/0.4541, allocations: 2.096 MB / 0.6083 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009244/0.4551, allocations: 195.8 kB / 0.6085 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.4758, allocations: 9.577 MB / 0.6178 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.4776, allocations: 211 kB / 0.618 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.4777, allocations: 39.98 kB / 0.6181 GB, free: 3.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4777, allocations: 6.344 kB / 0.6181 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01352/0.4913, allocations: 5.011 MB / 0.623 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.4913, allocations: 0 / 0.623 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006434/0.4977, allocations: 2.105 MB / 0.625 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/0.4986, allocations: 191.7 kB / 0.6252 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/0.5192, allocations: 9.555 MB / 0.6345 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.5207, allocations: 203.1 kB / 0.6347 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.5208, allocations: 47.91 kB / 0.6348 GB, free: 2.316 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.0006162/0.5214, allocations: 314.5 kB / 0.6351 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.5216, allocations: 118.5 kB / 0.6352 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.5348, allocations: 4.869 MB / 0.6399 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.5349, allocations: 12 kB / 0.6399 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5349, allocations: 4 kB / 0.64 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.5349, allocations: 3.984 kB / 0.64 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.5503, allocations: 6.457 MB / 0.6463 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.5503, allocations: 0 / 0.6463 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.5509, allocations: 115.9 kB / 0.6464 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005978/0.5569, allocations: 2.05 MB / 0.6484 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.5571, allocations: 16 kB / 0.6484 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/0.5744, allocations: 8.215 MB / 0.6564 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5744, allocations: 4 kB / 0.6564 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/0.5895, allocations: 5.849 MB / 0.6621 GB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.59, allocations: 207.5 kB / 0.6623 GB, free: 5.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.5901, allocations: 20.03 kB / 0.6623 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009864/0.5911, allocations: 147.9 kB / 0.6625 GB, free: 5.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006163/0.5917, allocations: 208.5 kB / 0.6627 GB, free: 5.367 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/0.5918, allocations: 20 kB / 0.6627 GB, free: 5.348 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009424/0.5928, allocations: 0.6471 MB / 0.6633 GB, free: 4.691 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5928, allocations: 4 kB / 0.6633 GB, free: 4.688 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001902/0.5947, allocations: 0.6943 MB / 0.664 GB, free: 3.992 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.0002694/0.595, allocations: 131.1 kB / 0.6641 GB, free: 3.855 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01159/0.6066, allocations: 4.626 MB / 0.6687 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6066, allocations: 0 / 0.6687 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004426/0.611, allocations: 1.745 MB / 0.6704 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/0.612, allocations: 106.6 kB / 0.6705 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.616, allocations: 2.608 MB / 0.673 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.6167, allocations: 1.105 MB / 0.6741 GB, free: 9.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.617, allocations: 67.42 kB / 0.6742 GB, free: 9.504 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.617, allocations: 0 / 0.6742 GB, free: 9.504 MB / 490.7 MB Notification: Performance of Templates: time 0.3047/0.9217, allocations: 20.93 MB / 0.6946 GB, free: 113.5 MB / 490.7 MB 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)