Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08764/0.08764, allocations: 12.6 MB / 28.85 MB, free: 280 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 115.4 kB / 32.46 MB, free: 3.414 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 241 MB, free: 12.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 188.5 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4481/0.4481, allocations: 78.52 MB / 419.9 MB, free: 11.29 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 143.8 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2889, allocations: 68.11 MB / 0.556 GB, free: 33.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006051/0.295, allocations: 6.412 MB / 0.5623 GB, free: 28.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.2984, allocations: 1.822 MB / 0.564 GB, free: 26.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.2992, allocations: 11.28 kB / 0.564 GB, free: 26.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004996/0.2997, allocations: 230 kB / 0.5643 GB, free: 26.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.3012, allocations: 0.7089 MB / 0.565 GB, free: 26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3023, allocations: 0.604 MB / 0.5655 GB, free: 25.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.3036, allocations: 1.398 MB / 0.5669 GB, free: 24.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.304, allocations: 334.2 kB / 0.5672 GB, free: 24.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005966/0.3046, allocations: 0.5839 MB / 0.5678 GB, free: 24.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.3053, allocations: 0.7231 MB / 0.5685 GB, free: 23.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.3054, allocations: 99.84 kB / 0.5686 GB, free: 23.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.3058, allocations: 246.2 kB / 0.5688 GB, free: 23.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.306, allocations: 270.7 kB / 0.5691 GB, free: 23.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.3064, allocations: 0.6219 MB / 0.5697 GB, free: 22.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.3075, allocations: 1.501 MB / 0.5712 GB, free: 21.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3076, allocations: 0 / 0.5712 GB, free: 21.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3076, allocations: 0 / 0.5712 GB, free: 21.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.3076, allocations: 5.125 kB / 0.5712 GB, free: 21.77 MB / 398.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.007305/0.3149, allocations: 2.538 MB / 0.5737 GB, free: 20.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.315, allocations: 14.17 kB / 0.5737 GB, free: 20.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004918/0.3199, allocations: 0.7815 MB / 0.5744 GB, free: 19.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.3214, allocations: 0.7641 MB / 0.5752 GB, free: 19.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.3217, allocations: 254.2 kB / 0.5754 GB, free: 18.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.3219, allocations: 75.34 kB / 0.5755 GB, free: 18.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.324, allocations: 1.075 MB / 0.5765 GB, free: 18.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3241, allocations: 7.875 kB / 0.5765 GB, free: 18.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/0.3242, allocations: 32 kB / 0.5766 GB, free: 18.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.3242, allocations: 19.98 kB / 0.5766 GB, free: 18.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.3262, allocations: 1.12 MB / 0.5777 GB, free: 16.99 MB / 398.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.004999/0.3312, allocations: 3.42 MB / 0.581 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.3329, allocations: 1.403 MB / 0.5824 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.3341, allocations: 0.7812 MB / 0.5832 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.3343, allocations: 20.97 kB / 0.5832 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3343, allocations: 43.56 kB / 0.5832 GB, free: 11.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 4.058e-06/0.3343, allocations: 0 / 0.5832 GB, free: 11.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.02291/0.3572, allocations: 6.746 MB / 0.5898 GB, free: 4.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3573, allocations: 64.41 kB / 0.5899 GB, free: 4.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.3584, allocations: 0.8876 MB / 0.5907 GB, free: 3.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.3586, allocations: 45.7 kB / 0.5908 GB, free: 3.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.3588, allocations: 492.7 kB / 0.5913 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.3591, allocations: 343 kB / 0.5916 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.3594, allocations: 194.8 kB / 0.5918 GB, free: 2.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.562e-05/0.3595, allocations: 349.9 kB / 0.5921 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.3608, allocations: 0.7131 MB / 0.5928 GB, free: 1.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.3622, allocations: 0.8384 MB / 0.5936 GB, free: 272 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01753/0.3797, allocations: 4.783 MB / 0.5983 GB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/0.3797, allocations: 4 kB / 0.5983 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01293/0.3927, allocations: 4.249 MB / 0.6024 GB, free: 7.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.3928, allocations: 15.98 kB / 0.6025 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.3928, allocations: 0 / 0.6025 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005911/0.3987, allocations: 1.859 MB / 0.6043 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.3998, allocations: 207.7 kB / 0.6045 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02016/0.42, allocations: 9.085 MB / 0.6133 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.4217, allocations: 179 kB / 0.6135 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.4218, allocations: 43.97 kB / 0.6136 GB, free: 11.65 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.0004781/0.4223, allocations: 247.9 kB / 0.6138 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.4226, allocations: 122.5 kB / 0.6139 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.4347, allocations: 4.002 MB / 0.6178 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.4347, allocations: 8 kB / 0.6178 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.4347, allocations: 3.938 kB / 0.6178 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.4348, allocations: 11.98 kB / 0.6178 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.4489, allocations: 5.614 MB / 0.6233 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.4489, allocations: 0 / 0.6233 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/0.4496, allocations: 131.8 kB / 0.6234 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005535/0.4552, allocations: 1.741 MB / 0.6251 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.4554, allocations: 16 kB / 0.6252 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01734/0.4727, allocations: 8.064 MB / 0.633 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4727, allocations: 0 / 0.633 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/0.4868, allocations: 4.968 MB / 0.6379 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.4873, allocations: 203.4 kB / 0.6381 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.4875, allocations: 23.94 kB / 0.6381 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009901/0.4885, allocations: 107.9 kB / 0.6382 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007014/0.4892, allocations: 224.5 kB / 0.6384 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.4893, allocations: 27.94 kB / 0.6385 GB, free: 1.801 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007296/0.49, allocations: 0.5965 MB / 0.639 GB, free: 1.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.49, allocations: 0 / 0.639 GB, free: 1.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00122/0.4913, allocations: 431.5 kB / 0.6394 GB, free: 0.7734 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.0002601/0.4915, allocations: 123.1 kB / 0.6396 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006557/0.4981, allocations: 2.482 MB / 0.642 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4981, allocations: 0 / 0.642 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004563/0.5027, allocations: 1.589 MB / 0.6435 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008203/0.5035, allocations: 88.42 kB / 0.6436 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.5073, allocations: 1.918 MB / 0.6455 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/0.508, allocations: 1.084 MB / 0.6466 GB, free: 9.402 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003709/0.5084, allocations: 86.7 kB / 0.6466 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.5086, allocations: 67.42 kB / 0.6467 GB, free: 9.246 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5086, allocations: 0 / 0.6467 GB, free: 9.246 MB / 462.1 MB Notification: Performance of Templates: time 0.03489/0.5435, allocations: 23.38 MB / 0.6695 GB, free: 1.875 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)