Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005774/0.005774, allocations: 100.4 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 239.5 MB, free: 4.812 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 192.4 kB / 289.8 MB, free: 2.543 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5281/0.5281, allocations: 91.9 MB / 431.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 76.11 kB / 0.5019 GB, free: 8.242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3461, allocations: 71.25 MB / 0.5714 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005606/0.3517, allocations: 6.8 MB / 0.5781 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003788/0.3555, allocations: 1.918 MB / 0.5799 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009578/0.3565, allocations: 11.94 kB / 0.58 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.3572, allocations: 173.5 kB / 0.5801 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.3589, allocations: 0.6409 MB / 0.5808 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3601, allocations: 0.5735 MB / 0.5813 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.3614, allocations: 1.35 MB / 0.5826 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.3618, allocations: 296.3 kB / 0.5829 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006167/0.3624, allocations: 0.5446 MB / 0.5834 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.363, allocations: 0.7036 MB / 0.5841 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.3632, allocations: 67.94 kB / 0.5842 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.3636, allocations: 189 kB / 0.5844 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.3638, allocations: 252.1 kB / 0.5846 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.3642, allocations: 0.5838 MB / 0.5852 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000833/0.3651, allocations: 1.131 MB / 0.5863 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3651, allocations: 0 / 0.5863 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3651, allocations: 0 / 0.5863 GB, free: 28.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.3651, allocations: 0 / 0.5863 GB, free: 28.23 MB / 430.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.007899/0.373, allocations: 2.556 MB / 0.5888 GB, free: 27.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3731, allocations: 8.531 kB / 0.5888 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004861/0.378, allocations: 0.7877 MB / 0.5896 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.3792, allocations: 0.7694 MB / 0.5903 GB, free: 26.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.3795, allocations: 261.2 kB / 0.5906 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.3797, allocations: 75.56 kB / 0.5906 GB, free: 26.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.382, allocations: 1.082 MB / 0.5917 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3821, allocations: 3.938 kB / 0.5917 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/0.3822, allocations: 30.75 kB / 0.5917 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.3822, allocations: 18.84 kB / 0.5917 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.3847, allocations: 1.123 MB / 0.5928 GB, free: 25.32 MB / 430.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.005925/0.3906, allocations: 3.467 MB / 0.5962 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.3927, allocations: 1.422 MB / 0.5976 GB, free: 22.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.3943, allocations: 0.7915 MB / 0.5984 GB, free: 22.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.3944, allocations: 15.14 kB / 0.5984 GB, free: 22.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3945, allocations: 46.88 kB / 0.5985 GB, free: 22.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.266e-06/0.3945, allocations: 0 / 0.5985 GB, free: 22.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02627/0.4208, allocations: 6.606 MB / 0.6049 GB, free: 20.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.4208, allocations: 66.62 kB / 0.605 GB, free: 20.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.4223, allocations: 0.8936 MB / 0.6058 GB, free: 20.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002857/0.4226, allocations: 45.28 kB / 0.6059 GB, free: 20.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.4229, allocations: 494.2 kB / 0.6064 GB, free: 19.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.4233, allocations: 351.6 kB / 0.6067 GB, free: 19.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.4237, allocations: 200.2 kB / 0.6069 GB, free: 19.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.4238, allocations: 349.9 kB / 0.6072 GB, free: 19.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.4254, allocations: 0.7252 MB / 0.6079 GB, free: 18.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.4271, allocations: 0.8505 MB / 0.6088 GB, free: 18.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01886/0.446, allocations: 4.825 MB / 0.6135 GB, free: 17.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.446, allocations: 1.188 kB / 0.6135 GB, free: 17.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01349/0.4595, allocations: 4.269 MB / 0.6176 GB, free: 15.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.4596, allocations: 8 kB / 0.6176 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4596, allocations: 7.938 kB / 0.6176 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005604/0.4652, allocations: 1.805 MB / 0.6194 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.4663, allocations: 207.7 kB / 0.6196 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/0.4846, allocations: 8.581 MB / 0.628 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.4863, allocations: 167 kB / 0.6281 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.4865, allocations: 43.98 kB / 0.6282 GB, free: 4.184 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.000547/0.487, allocations: 255.6 kB / 0.6284 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.4873, allocations: 118.5 kB / 0.6285 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.499, allocations: 4.014 MB / 0.6325 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.499, allocations: 8 kB / 0.6325 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.499, allocations: 0 / 0.6325 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/0.4991, allocations: 11.91 kB / 0.6325 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.514, allocations: 5.622 MB / 0.638 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.5141, allocations: 0 / 0.638 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008074/0.5149, allocations: 131.9 kB / 0.6381 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005719/0.5206, allocations: 1.745 MB / 0.6398 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.5208, allocations: 19.98 kB / 0.6398 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/0.5378, allocations: 7.358 MB / 0.647 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5379, allocations: 0 / 0.647 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/0.5529, allocations: 4.962 MB / 0.6519 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.5534, allocations: 203.4 kB / 0.6521 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.5536, allocations: 16 kB / 0.6521 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.5547, allocations: 107.9 kB / 0.6522 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007483/0.5555, allocations: 216.6 kB / 0.6524 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.301e-05/0.5556, allocations: 23.98 kB / 0.6524 GB, free: 11.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007629/0.5563, allocations: 0.6008 MB / 0.653 GB, free: 10.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5563, allocations: 3.938 kB / 0.653 GB, free: 10.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001332/0.5577, allocations: 447.4 kB / 0.6534 GB, free: 9.98 MB / 462.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.0002968/0.558, allocations: 131.1 kB / 0.6535 GB, free: 9.844 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00684/0.5648, allocations: 2.461 MB / 0.6559 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5649, allocations: 3.938 kB / 0.6559 GB, free: 7.363 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004869/0.5698, allocations: 1.545 MB / 0.6575 GB, free: 5.809 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.5708, allocations: 88.34 kB / 0.6575 GB, free: 5.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.5749, allocations: 2.484 MB / 0.66 GB, free: 3.207 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.5756, allocations: 1.095 MB / 0.661 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.5759, allocations: 67.42 kB / 0.6611 GB, free: 2.02 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.576, allocations: 4 kB / 0.6611 GB, free: 2.016 MB / 462.1 MB Notification: Performance of Templates: time 0.02549/0.6014, allocations: 20.09 MB / 0.6807 GB, free: 13.92 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)