Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08786/0.08786, allocations: 12.2 MB / 27.43 MB, free: 1.387 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.001133/0.001133, allocations: 119.4 kB / 30.94 MB, free: 4.66 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.473/1.473, allocations: 205.1 MB / 239.4 MB, free: 10.92 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.001302/0.001301, allocations: 176.5 kB / 289.6 MB, free: 15.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5132/0.5132, allocations: 78.5 MB / 418.1 MB, free: 31.76 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.002357/0.002357, allocations: 127.8 kB / 498.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4069, allocations: 68.03 MB / 0.5532 GB, free: 37.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006709/0.4137, allocations: 6.82 MB / 0.5598 GB, free: 32.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003944/0.4177, allocations: 1.864 MB / 0.5616 GB, free: 31.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008343/0.4186, allocations: 13.62 kB / 0.5617 GB, free: 31.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.4192, allocations: 172.2 kB / 0.5618 GB, free: 31.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.4212, allocations: 0.6313 MB / 0.5624 GB, free: 30.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.4225, allocations: 0.5675 MB / 0.563 GB, free: 30.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.424, allocations: 1.404 MB / 0.5644 GB, free: 29.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.4244, allocations: 341.9 kB / 0.5647 GB, free: 29.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006719/0.4251, allocations: 0.5852 MB / 0.5653 GB, free: 29.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005987/0.4257, allocations: 0.7314 MB / 0.566 GB, free: 28.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.4259, allocations: 101.2 kB / 0.5661 GB, free: 28.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.4263, allocations: 239.7 kB / 0.5663 GB, free: 28.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.4265, allocations: 285.2 kB / 0.5666 GB, free: 28.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.4269, allocations: 0.63 MB / 0.5672 GB, free: 28.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.4282, allocations: 1.501 MB / 0.5686 GB, free: 27.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4282, allocations: 0 / 0.5686 GB, free: 27.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4282, allocations: 0 / 0.5686 GB, free: 27.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.4282, allocations: 0 / 0.5686 GB, free: 27.55 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007575/0.4358, allocations: 2.559 MB / 0.5711 GB, free: 26.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.4359, allocations: 18.42 kB / 0.5712 GB, free: 26.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004738/0.4406, allocations: 0.7818 MB / 0.5719 GB, free: 26.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.4421, allocations: 0.769 MB / 0.5727 GB, free: 25.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/0.4424, allocations: 259.7 kB / 0.5729 GB, free: 25.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.4425, allocations: 76.25 kB / 0.573 GB, free: 25.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.4448, allocations: 1.086 MB / 0.5741 GB, free: 25.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.4448, allocations: 3.938 kB / 0.5741 GB, free: 25.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/0.4449, allocations: 29.41 kB / 0.5741 GB, free: 24.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4449, allocations: 22.23 kB / 0.5741 GB, free: 24.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.4471, allocations: 1.118 MB / 0.5752 GB, free: 24.64 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.006146/0.4533, allocations: 3.473 MB / 0.5786 GB, free: 22.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.4554, allocations: 1.417 MB / 0.58 GB, free: 21.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.457, allocations: 0.7829 MB / 0.5807 GB, free: 21.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.4571, allocations: 16.09 kB / 0.5808 GB, free: 21.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.4571, allocations: 45.02 kB / 0.5808 GB, free: 21.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 4.097e-06/0.4571, allocations: 0 / 0.5808 GB, free: 21.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=97): time 0.02649/0.4836, allocations: 6.614 MB / 0.5873 GB, free: 19.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.4837, allocations: 61.94 kB / 0.5873 GB, free: 19.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.4851, allocations: 0.8951 MB / 0.5882 GB, free: 19.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002975/0.4854, allocations: 45.33 kB / 0.5882 GB, free: 19.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.4857, allocations: 496.9 kB / 0.5887 GB, free: 18.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.486, allocations: 349.8 kB / 0.589 GB, free: 18.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000401/0.4864, allocations: 199.9 kB / 0.5892 GB, free: 18.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.4865, allocations: 352.1 kB / 0.5896 GB, free: 17.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.4881, allocations: 0.7221 MB / 0.5903 GB, free: 17.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.4899, allocations: 0.8549 MB / 0.5911 GB, free: 17.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01966/0.5095, allocations: 4.839 MB / 0.5958 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.5096, allocations: 5.438 kB / 0.5958 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01281/0.5224, allocations: 4.27 MB / 0.6 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.5225, allocations: 8 kB / 0.6 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.5225, allocations: 3.938 kB / 0.6 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005667/0.5282, allocations: 1.815 MB / 0.6018 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.5294, allocations: 203.8 kB / 0.602 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.5486, allocations: 9.339 MB / 0.6111 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.5504, allocations: 178.9 kB / 0.6113 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.5506, allocations: 39.98 kB / 0.6113 GB, free: 14.73 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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.0005611/0.5512, allocations: 253.5 kB / 0.6116 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.5514, allocations: 122.5 kB / 0.6117 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.5641, allocations: 4.011 MB / 0.6156 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.5642, allocations: 12 kB / 0.6156 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5642, allocations: 3.984 kB / 0.6156 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/0.5642, allocations: 3.984 kB / 0.6156 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.5795, allocations: 5.623 MB / 0.6211 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.5796, allocations: 0 / 0.6211 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008969/0.5805, allocations: 123.9 kB / 0.6212 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005937/0.5864, allocations: 1.749 MB / 0.6229 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.5867, allocations: 19.98 kB / 0.623 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/0.6071, allocations: 8.083 MB / 0.6308 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6071, allocations: 0 / 0.6308 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/0.6225, allocations: 4.966 MB / 0.6357 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004743/0.623, allocations: 207.4 kB / 0.6359 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000433/0.6235, allocations: 19.98 kB / 0.6359 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.6248, allocations: 111.8 kB / 0.636 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008301/0.6257, allocations: 220.7 kB / 0.6362 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.6258, allocations: 24 kB / 0.6363 GB, free: 4.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008199/0.6266, allocations: 0.6008 MB / 0.6368 GB, free: 4.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6266, allocations: 0 / 0.6368 GB, free: 4.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001442/0.6281, allocations: 435.5 kB / 0.6373 GB, free: 3.801 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.000295/0.6284, allocations: 124 kB / 0.6374 GB, free: 3.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007284/0.6357, allocations: 2.527 MB / 0.6398 GB, free: 1.129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.6357, allocations: 7.938 kB / 0.6398 GB, free: 1.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005033/0.6408, allocations: 1.609 MB / 0.6414 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.6422, allocations: 88.08 kB / 0.6415 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.6466, allocations: 2.436 MB / 0.6439 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.6473, allocations: 1.099 MB / 0.645 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004329/0.6477, allocations: 86.77 kB / 0.645 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.648, allocations: 67.42 kB / 0.6451 GB, free: 11.68 MB / 462.1 MB Notification: Performance of SimCode: time 2.775e-06/0.648, allocations: 0 / 0.6451 GB, free: 11.68 MB / 462.1 MB Notification: Performance of Templates: time 0.03969/0.6877, allocations: 22.51 MB / 0.6671 GB, free: 5.176 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)