Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009127/0.0009126, allocations: 175.9 kB / 16.07 MB, free: 5.605 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 239.7 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007662/0.0007665, allocations: 97.62 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5795/0.5795, allocations: 78.43 MB / 419.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005255, allocations: 8 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3456, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004995/0.3506, allocations: 6.091 MB / 0.5604 GB, free: 14.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3536, allocations: 1.782 MB / 0.5622 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005097/0.3542, allocations: 15.94 kB / 0.5622 GB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.3546, allocations: 147 kB / 0.5623 GB, free: 12.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.356, allocations: 0.6197 MB / 0.563 GB, free: 11.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.3569, allocations: 0.5247 MB / 0.5635 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008396/0.3578, allocations: 1.194 MB / 0.5646 GB, free: 9.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.3581, allocations: 235.6 kB / 0.5649 GB, free: 9.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.3585, allocations: 477.7 kB / 0.5653 GB, free: 9.109 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.3589, allocations: 0.5947 MB / 0.5659 GB, free: 8.512 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.599e-05/0.359, allocations: 44 kB / 0.5659 GB, free: 8.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.3593, allocations: 175.9 kB / 0.5661 GB, free: 8.297 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.3595, allocations: 198.9 kB / 0.5663 GB, free: 8.102 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.3598, allocations: 0.4929 MB / 0.5668 GB, free: 7.605 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.3604, allocations: 0.9992 MB / 0.5677 GB, free: 6.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3604, allocations: 0 / 0.5677 GB, free: 6.605 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3604, allocations: 0 / 0.5677 GB, free: 6.605 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3604, allocations: 4 kB / 0.5678 GB, free: 6.602 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006104/0.3666, allocations: 2.135 MB / 0.5698 GB, free: 4.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3666, allocations: 12.03 kB / 0.5698 GB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/0.3712, allocations: 0.7594 MB / 0.5706 GB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.3722, allocations: 0.7049 MB / 0.5713 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.3724, allocations: 256.2 kB / 0.5715 GB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.3726, allocations: 71.91 kB / 0.5716 GB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.3742, allocations: 0.9521 MB / 0.5725 GB, free: 1.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3743, allocations: 7.875 kB / 0.5725 GB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-05/0.3744, allocations: 24 kB / 0.5725 GB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3744, allocations: 16 kB / 0.5726 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.3762, allocations: 0.9799 MB / 0.5735 GB, free: 0.5508 MB / 378.7 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.005418/0.3816, allocations: 3.178 MB / 0.5766 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.3837, allocations: 1.316 MB / 0.5779 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.3851, allocations: 0.6983 MB / 0.5786 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.3852, allocations: 12.66 kB / 0.5786 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3852, allocations: 39.22 kB / 0.5786 GB, free: 11.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.3852, allocations: 0 / 0.5786 GB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=82): time 0.02704/0.4123, allocations: 6.767 MB / 0.5852 GB, free: 4.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.4124, allocations: 60.06 kB / 0.5853 GB, free: 4.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.4136, allocations: 0.8064 MB / 0.5861 GB, free: 3.316 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.4138, allocations: 41.7 kB / 0.5861 GB, free: 3.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.4142, allocations: 432.4 kB / 0.5865 GB, free: 2.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.4145, allocations: 295.7 kB / 0.5868 GB, free: 2.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.4147, allocations: 97.66 kB / 0.5869 GB, free: 2.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4148, allocations: 341.9 kB / 0.5872 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.4163, allocations: 0.6584 MB / 0.5879 GB, free: 1.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.4178, allocations: 0.7679 MB / 0.5886 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/0.4358, allocations: 4.499 MB / 0.593 GB, free: 12.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.4359, allocations: 0 / 0.593 GB, free: 12.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01351/0.4494, allocations: 4.113 MB / 0.5971 GB, free: 7.984 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.4495, allocations: 14.19 kB / 0.5971 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4495, allocations: 0 / 0.5971 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006147/0.4557, allocations: 1.788 MB / 0.5988 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/0.4566, allocations: 163.8 kB / 0.599 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/0.4772, allocations: 8.59 MB / 0.6074 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.4786, allocations: 155 kB / 0.6075 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/0.4787, allocations: 43.92 kB / 0.6075 GB, free: 13.1 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0004553/0.4791, allocations: 221.7 kB / 0.6078 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.4793, allocations: 106.7 kB / 0.6079 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.4918, allocations: 3.825 MB / 0.6116 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.4918, allocations: 11.98 kB / 0.6116 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4919, allocations: 0 / 0.6116 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.4919, allocations: 3.984 kB / 0.6116 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.5061, allocations: 5.356 MB / 0.6168 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.5061, allocations: 0 / 0.6168 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.5067, allocations: 87.89 kB / 0.6169 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005843/0.5125, allocations: 1.741 MB / 0.6186 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.5127, allocations: 19.98 kB / 0.6186 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/0.5301, allocations: 7.343 MB / 0.6258 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5302, allocations: 4 kB / 0.6258 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/0.5445, allocations: 4.716 MB / 0.6304 GB, free: 5.336 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.5449, allocations: 183.6 kB / 0.6306 GB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.5451, allocations: 16 kB / 0.6306 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008791/0.5459, allocations: 99.83 kB / 0.6307 GB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006448/0.5466, allocations: 200.5 kB / 0.6309 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/0.5467, allocations: 23.98 kB / 0.6309 GB, free: 4.801 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007004/0.5474, allocations: 0.5343 MB / 0.6314 GB, free: 4.254 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5474, allocations: 0 / 0.6314 GB, free: 4.254 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001203/0.5486, allocations: 403.6 kB / 0.6318 GB, free: 3.859 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.0002591/0.5489, allocations: 123.2 kB / 0.6319 GB, free: 3.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006228/0.5551, allocations: 2.28 MB / 0.6342 GB, free: 1.438 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5551, allocations: 4.062 kB / 0.6342 GB, free: 1.434 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004237/0.5594, allocations: 1.448 MB / 0.6356 GB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.5602, allocations: 83.22 kB / 0.6357 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.5634, allocations: 2.133 MB / 0.6378 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.564, allocations: 1.033 MB / 0.6388 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.5643, allocations: 59.42 kB / 0.6388 GB, free: 12.61 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5643, allocations: 0 / 0.6388 GB, free: 12.61 MB / 458.7 MB Notification: Performance of Templates: time 0.02203/0.5863, allocations: 17.64 MB / 0.656 GB, free: 10.95 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)