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.07588/0.07588, allocations: 12.6 MB / 28.85 MB, free: 284 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.001164/0.001164, 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.344/1.344, allocations: 205.1 MB / 241 MB, free: 12.4 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.00127/0.00127, allocations: 180.5 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4271/0.4271, allocations: 78.51 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.002668/0.002668, allocations: 139.7 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3094, allocations: 68.1 MB / 0.556 GB, free: 32.95 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007035/0.3165, allocations: 6.417 MB / 0.5623 GB, free: 28.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.3205, allocations: 1.821 MB / 0.564 GB, free: 26.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.3216, allocations: 10.75 kB / 0.5641 GB, free: 26.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.3222, allocations: 222.7 kB / 0.5643 GB, free: 26.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.3241, allocations: 0.7212 MB / 0.565 GB, free: 25.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.3253, allocations: 0.5959 MB / 0.5655 GB, free: 25.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.3268, allocations: 1.397 MB / 0.5669 GB, free: 24.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.3273, allocations: 333 kB / 0.5672 GB, free: 24.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006882/0.3279, allocations: 0.5888 MB / 0.5678 GB, free: 24.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006771/0.3286, allocations: 0.7146 MB / 0.5685 GB, free: 23.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.3288, allocations: 104.1 kB / 0.5686 GB, free: 23.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.3293, allocations: 236.8 kB / 0.5688 GB, free: 23.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.3295, allocations: 283.9 kB / 0.5691 GB, free: 23.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.33, allocations: 0.6171 MB / 0.5697 GB, free: 22.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.3315, allocations: 1.507 MB / 0.5712 GB, free: 21.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3315, allocations: 0 / 0.5712 GB, free: 21.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3315, allocations: 0 / 0.5712 GB, free: 21.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.3315, allocations: 1.25 kB / 0.5712 GB, free: 21.74 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.007723/0.3392, allocations: 2.539 MB / 0.5737 GB, free: 20.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3393, allocations: 13.05 kB / 0.5737 GB, free: 20.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.3443, allocations: 0.7821 MB / 0.5744 GB, free: 19.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.3456, allocations: 0.7608 MB / 0.5752 GB, free: 19.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.3459, allocations: 258.5 kB / 0.5754 GB, free: 18.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.346, allocations: 79.34 kB / 0.5755 GB, free: 18.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.3481, allocations: 1.068 MB / 0.5765 GB, free: 18.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3481, allocations: 3.938 kB / 0.5765 GB, free: 18.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/0.3482, allocations: 28 kB / 0.5766 GB, free: 18.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.3482, allocations: 27.98 kB / 0.5766 GB, free: 18.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.3504, allocations: 1.113 MB / 0.5777 GB, free: 17.02 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.005144/0.3555, allocations: 3.42 MB / 0.581 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.3573, allocations: 1.418 MB / 0.5824 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.3586, allocations: 0.7735 MB / 0.5832 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.3588, allocations: 20.98 kB / 0.5832 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3588, allocations: 43.56 kB / 0.5832 GB, free: 11.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 2.655e-06/0.3588, allocations: 3.938 kB / 0.5832 GB, free: 11.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.02281/0.3816, allocations: 6.746 MB / 0.5898 GB, free: 4.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3817, allocations: 60.41 kB / 0.5899 GB, free: 4.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000963/0.3827, allocations: 0.8876 MB / 0.5907 GB, free: 3.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.3828, allocations: 41.7 kB / 0.5908 GB, free: 3.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.3831, allocations: 0.489 MB / 0.5913 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.3834, allocations: 347 kB / 0.5916 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00036/0.3838, allocations: 194.8 kB / 0.5918 GB, free: 2.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.3839, allocations: 345.9 kB / 0.5921 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.3852, allocations: 0.7169 MB / 0.5928 GB, free: 1.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.3866, allocations: 0.8384 MB / 0.5936 GB, free: 296 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/0.4049, allocations: 4.775 MB / 0.5983 GB, free: 11.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.405, allocations: 4 kB / 0.5983 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01317/0.4182, allocations: 4.261 MB / 0.6025 GB, free: 7.199 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.4182, allocations: 4 kB / 0.6025 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4182, allocations: 4 kB / 0.6025 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006104/0.4243, allocations: 1.863 MB / 0.6043 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.4255, allocations: 203.7 kB / 0.6045 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/0.4465, allocations: 9.095 MB / 0.6134 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.4482, allocations: 163 kB / 0.6135 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.4484, allocations: 43.98 kB / 0.6136 GB, free: 11.68 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.0006063/0.449, allocations: 249.4 kB / 0.6138 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.4494, allocations: 118.5 kB / 0.6139 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/0.4622, allocations: 4.002 MB / 0.6178 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.4623, allocations: 12 kB / 0.6178 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4623, allocations: 3.938 kB / 0.6178 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.4623, allocations: 7.969 kB / 0.6178 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.4778, allocations: 5.617 MB / 0.6233 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.4778, allocations: 4 kB / 0.6233 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/0.4786, allocations: 123.8 kB / 0.6234 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0059/0.4845, allocations: 1.737 MB / 0.6251 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/0.4847, allocations: 19.98 kB / 0.6252 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/0.5035, allocations: 8.068 MB / 0.633 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5035, allocations: 0 / 0.633 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.5184, allocations: 4.972 MB / 0.6379 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/0.519, allocations: 207.3 kB / 0.6381 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.5193, allocations: 16 kB / 0.6381 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.5204, allocations: 119.9 kB / 0.6382 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007365/0.5212, allocations: 216.6 kB / 0.6384 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.5213, allocations: 27.92 kB / 0.6385 GB, free: 1.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008397/0.5221, allocations: 0.5927 MB / 0.639 GB, free: 1.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5221, allocations: 0 / 0.639 GB, free: 1.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001359/0.5235, allocations: 431.5 kB / 0.6394 GB, free: 0.7969 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.0002857/0.5238, allocations: 135.1 kB / 0.6396 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006712/0.5305, allocations: 2.466 MB / 0.642 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.5305, allocations: 0 / 0.642 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004623/0.5352, allocations: 1.597 MB / 0.6435 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.536, allocations: 84.42 kB / 0.6436 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.5399, allocations: 1.917 MB / 0.6455 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.5405, allocations: 1.08 MB / 0.6465 GB, free: 9.434 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.5409, allocations: 90.67 kB / 0.6466 GB, free: 9.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.5411, allocations: 67.42 kB / 0.6467 GB, free: 9.273 MB / 462.1 MB Notification: Performance of SimCode: time 7.934e-06/0.5412, allocations: 0 / 0.6467 GB, free: 9.273 MB / 462.1 MB Notification: Performance of Templates: time 0.03666/0.5778, allocations: 23.39 MB / 0.6695 GB, free: 1.898 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 gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)