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/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/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/package.mo): time 0.08322/0.08322, allocations: 12.2 MB / 28.08 MB, free: 1.344 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 121.2 kB / 31.59 MB, free: 4.574 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.41/1.41, allocations: 205.1 MB / 240.1 MB, free: 10.94 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.001291/0.001291, allocations: 188.5 kB / 290.2 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4441/0.4441, allocations: 78.51 MB / 418.8 MB, free: 31.75 MB / 318.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.002593/0.002593, allocations: 135.8 kB / 499.1 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3639, allocations: 68.04 MB / 0.5538 GB, free: 37.78 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006283/0.3702, allocations: 6.756 MB / 0.5604 GB, free: 32.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.374, allocations: 1.861 MB / 0.5622 GB, free: 31.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009243/0.375, allocations: 17.19 kB / 0.5622 GB, free: 31.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.3755, allocations: 161.1 kB / 0.5624 GB, free: 31.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.3772, allocations: 0.6304 MB / 0.563 GB, free: 31.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3783, allocations: 0.5659 MB / 0.5636 GB, free: 30.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.3796, allocations: 1.389 MB / 0.5649 GB, free: 30 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.38, allocations: 332.4 kB / 0.5652 GB, free: 29.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.3806, allocations: 0.584 MB / 0.5658 GB, free: 29.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.3812, allocations: 0.7193 MB / 0.5665 GB, free: 29.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3813, allocations: 101.4 kB / 0.5666 GB, free: 29.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.3817, allocations: 239.8 kB / 0.5668 GB, free: 29.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.3819, allocations: 277.5 kB / 0.5671 GB, free: 28.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.3823, allocations: 0.6232 MB / 0.5677 GB, free: 28.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009778/0.3833, allocations: 1.134 MB / 0.5688 GB, free: 28.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3833, allocations: 0 / 0.5688 GB, free: 28.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3833, allocations: 0 / 0.5688 GB, free: 28.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3833, allocations: 0 / 0.5688 GB, free: 28.1 MB / 414.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.007481/0.3908, allocations: 2.542 MB / 0.5713 GB, free: 26.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3909, allocations: 15.55 kB / 0.5713 GB, free: 26.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/0.3956, allocations: 0.7777 MB / 0.5721 GB, free: 26.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.3967, allocations: 0.7584 MB / 0.5728 GB, free: 26.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002456/0.397, allocations: 260.1 kB / 0.5731 GB, free: 25.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.3971, allocations: 83.03 kB / 0.5731 GB, free: 25.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.3993, allocations: 1.068 MB / 0.5742 GB, free: 25.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3993, allocations: 3.938 kB / 0.5742 GB, free: 25.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.3994, allocations: 31.19 kB / 0.5742 GB, free: 25.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3994, allocations: 17.69 kB / 0.5742 GB, free: 25.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.4017, allocations: 1.118 MB / 0.5753 GB, free: 25.21 MB / 414.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.005807/0.4075, allocations: 3.452 MB / 0.5787 GB, free: 23.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.4096, allocations: 1.411 MB / 0.5801 GB, free: 22.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.4112, allocations: 0.7756 MB / 0.5808 GB, free: 22.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.4113, allocations: 16.7 kB / 0.5808 GB, free: 22.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4114, allocations: 44.53 kB / 0.5809 GB, free: 21.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.266e-06/0.4114, allocations: 0 / 0.5809 GB, free: 21.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.02677/0.4382, allocations: 6.751 MB / 0.5875 GB, free: 20.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4383, allocations: 61.16 kB / 0.5875 GB, free: 20.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.4395, allocations: 0.8844 MB / 0.5884 GB, free: 19.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.4398, allocations: 48.45 kB / 0.5884 GB, free: 19.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.4401, allocations: 499.9 kB / 0.5889 GB, free: 19.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.4404, allocations: 341.3 kB / 0.5892 GB, free: 18.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004105/0.4408, allocations: 193.7 kB / 0.5894 GB, free: 18.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.4409, allocations: 347.3 kB / 0.5898 GB, free: 18.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.4425, allocations: 0.7183 MB / 0.5905 GB, free: 17.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.4441, allocations: 0.8367 MB / 0.5913 GB, free: 17.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/0.4627, allocations: 4.793 MB / 0.596 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.4628, allocations: 1.062 kB / 0.596 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01254/0.4753, allocations: 4.259 MB / 0.6001 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.4754, allocations: 4 kB / 0.6001 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4754, allocations: 4 kB / 0.6001 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005539/0.481, allocations: 1.868 MB / 0.602 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4821, allocations: 207.7 kB / 0.6021 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/0.5005, allocations: 9.104 MB / 0.611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.5024, allocations: 175 kB / 0.6112 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.5025, allocations: 43.98 kB / 0.6112 GB, free: 15.41 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.0005755/0.5031, allocations: 233.6 kB / 0.6115 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.5034, allocations: 118.5 kB / 0.6116 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.5161, allocations: 4.01 MB / 0.6155 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.5162, allocations: 11.94 kB / 0.6155 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5162, allocations: 7.938 kB / 0.6155 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/0.5162, allocations: 3.984 kB / 0.6155 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.5314, allocations: 5.621 MB / 0.621 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.5314, allocations: 0 / 0.621 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007865/0.5322, allocations: 135.8 kB / 0.6211 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005819/0.5381, allocations: 1.738 MB / 0.6228 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/0.5383, allocations: 20 kB / 0.6229 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.5567, allocations: 8.079 MB / 0.6307 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.5567, allocations: 0 / 0.6307 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/0.5715, allocations: 4.962 MB / 0.6356 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.572, allocations: 207.4 kB / 0.6358 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.5722, allocations: 16 kB / 0.6358 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5732, allocations: 107.9 kB / 0.6359 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007534/0.574, allocations: 220.7 kB / 0.6361 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/0.5741, allocations: 23.94 kB / 0.6361 GB, free: 5.555 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007994/0.5749, allocations: 0.5927 MB / 0.6367 GB, free: 4.953 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5749, allocations: 0 / 0.6367 GB, free: 4.953 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001339/0.5762, allocations: 435.5 kB / 0.6371 GB, free: 4.527 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.0002908/0.5765, allocations: 123.7 kB / 0.6373 GB, free: 4.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006879/0.5834, allocations: 2.507 MB / 0.6397 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5834, allocations: 0 / 0.6397 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004495/0.5879, allocations: 1.589 MB / 0.6413 GB, free: 284 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.5886, allocations: 84.42 kB / 0.6413 GB, free: 200 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.5923, allocations: 2.414 MB / 0.6437 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.593, allocations: 1.088 MB / 0.6448 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.5932, allocations: 67.42 kB / 0.6448 GB, free: 12.57 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5932, allocations: 0 / 0.6448 GB, free: 12.57 MB / 462.1 MB Notification: Performance of Templates: time 0.02339/0.6166, allocations: 19.91 MB / 0.6643 GB, free: 8.645 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)