Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.305/1.305, allocations: 222.9 MB / 239 MB, free: 4.695 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.001477/0.001477, allocations: 192.4 kB / 289.3 MB, free: 2.418 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.458/0.458, allocations: 78.52 MB / 417.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 79.88 kB / 496.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1329, allocations: 68.18 MB / 0.5519 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2324/0.3653, allocations: 6.704 MB / 0.5584 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003849/0.3692, allocations: 1.883 MB / 0.5603 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.3703, allocations: 15.72 kB / 0.5603 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006268/0.371, allocations: 176.3 kB / 0.5604 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.3727, allocations: 0.6178 MB / 0.5611 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3739, allocations: 0.5578 MB / 0.5616 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.3752, allocations: 1.393 MB / 0.563 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.3756, allocations: 324.7 kB / 0.5633 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006059/0.3762, allocations: 0.5852 MB / 0.5638 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005668/0.3768, allocations: 0.7238 MB / 0.5645 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.3769, allocations: 99.38 kB / 0.5646 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.3774, allocations: 240.9 kB / 0.5649 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.3775, allocations: 272.6 kB / 0.5651 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.378, allocations: 0.6228 MB / 0.5657 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.3792, allocations: 1.487 MB / 0.5672 GB, free: 34.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3792, allocations: 3.328 kB / 0.5672 GB, free: 34.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3792, allocations: 0.5625 kB / 0.5672 GB, free: 34.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.3792, allocations: 0 / 0.5672 GB, free: 34.32 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007233/0.3865, allocations: 2.54 MB / 0.5697 GB, free: 33.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3865, allocations: 8.906 kB / 0.5697 GB, free: 33.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004597/0.3911, allocations: 0.777 MB / 0.5704 GB, free: 33.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.3922, allocations: 0.7676 MB / 0.5712 GB, free: 32.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.3924, allocations: 258.7 kB / 0.5714 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.3926, allocations: 75.31 kB / 0.5715 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.3946, allocations: 1.075 MB / 0.5726 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.3946, allocations: 3.938 kB / 0.5726 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.3947, allocations: 29.73 kB / 0.5726 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.3947, allocations: 19.72 kB / 0.5726 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.3969, allocations: 1.118 MB / 0.5737 GB, free: 32.65 MB / 430.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.005032/0.4019, allocations: 3.438 MB / 0.5771 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.4037, allocations: 1.415 MB / 0.5784 GB, free: 30.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.405, allocations: 0.7841 MB / 0.5792 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.4051, allocations: 15.22 kB / 0.5792 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.4052, allocations: 42.5 kB / 0.5793 GB, free: 30.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.404e-06/0.4052, allocations: 0 / 0.5793 GB, free: 30.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02489/0.4301, allocations: 6.746 MB / 0.5858 GB, free: 29.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.4302, allocations: 63.28 kB / 0.5859 GB, free: 28.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.4314, allocations: 0.8802 MB / 0.5868 GB, free: 28.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002359/0.4316, allocations: 45.73 kB / 0.5868 GB, free: 28.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.4319, allocations: 499.5 kB / 0.5873 GB, free: 28.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.4323, allocations: 341.4 kB / 0.5876 GB, free: 27.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.4327, allocations: 191.4 kB / 0.5878 GB, free: 27.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.4328, allocations: 353.3 kB / 0.5881 GB, free: 27.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.4344, allocations: 0.709 MB / 0.5888 GB, free: 27.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4361, allocations: 0.8444 MB / 0.5897 GB, free: 26.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01835/0.4544, allocations: 4.789 MB / 0.5943 GB, free: 25.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.4545, allocations: 0 / 0.5943 GB, free: 25.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01348/0.468, allocations: 4.263 MB / 0.5985 GB, free: 24.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.468, allocations: 7.328 kB / 0.5985 GB, free: 24.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.4681, allocations: 2.5 kB / 0.5985 GB, free: 24.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006802/0.4749, allocations: 1.866 MB / 0.6003 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.4763, allocations: 202.3 kB / 0.6005 GB, free: 24.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/0.497, allocations: 9.096 MB / 0.6094 GB, free: 19.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.4987, allocations: 173.2 kB / 0.6096 GB, free: 19.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.4989, allocations: 43.45 kB / 0.6096 GB, free: 19.32 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0004974/0.4994, allocations: 246.7 kB / 0.6098 GB, free: 19.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.4996, allocations: 118.9 kB / 0.61 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.5111, allocations: 4.008 MB / 0.6139 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.5112, allocations: 8 kB / 0.6139 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5112, allocations: 3.938 kB / 0.6139 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.5112, allocations: 7.984 kB / 0.6139 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.524, allocations: 5.618 MB / 0.6194 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.5241, allocations: 0 / 0.6194 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.5248, allocations: 127.8 kB / 0.6195 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004946/0.5297, allocations: 1.748 MB / 0.6212 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.5299, allocations: 17.44 kB / 0.6212 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/0.5455, allocations: 8.074 MB / 0.6291 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.5455, allocations: 0 / 0.6291 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/0.5597, allocations: 4.97 MB / 0.634 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.5601, allocations: 203.6 kB / 0.6342 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.5602, allocations: 19.09 kB / 0.6342 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009767/0.5612, allocations: 103.9 kB / 0.6343 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006809/0.5619, allocations: 220.7 kB / 0.6345 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/0.562, allocations: 27.94 kB / 0.6345 GB, free: 10.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000686/0.5627, allocations: 0.5965 MB / 0.6351 GB, free: 9.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5627, allocations: 0 / 0.6351 GB, free: 9.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001233/0.5639, allocations: 435.4 kB / 0.6355 GB, free: 9.227 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0002511/0.5642, allocations: 131.7 kB / 0.6356 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00692/0.5711, allocations: 2.504 MB / 0.6381 GB, free: 6.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5712, allocations: 0 / 0.6381 GB, free: 6.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004594/0.5758, allocations: 1.594 MB / 0.6396 GB, free: 4.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000868/0.5767, allocations: 85.67 kB / 0.6397 GB, free: 4.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.5807, allocations: 2.371 MB / 0.642 GB, free: 2.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.5814, allocations: 1.084 MB / 0.6431 GB, free: 1.402 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004741/0.5818, allocations: 81.8 kB / 0.6432 GB, free: 1.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.5821, allocations: 67.42 kB / 0.6432 GB, free: 1.254 MB / 446.1 MB Notification: Performance of SimCode: time 1.372e-06/0.5821, allocations: 3.938 kB / 0.6432 GB, free: 1.25 MB / 446.1 MB Notification: Performance of Templates: time 0.03417/0.6163, allocations: 22.17 MB / 0.6649 GB, free: 11.29 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)