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.0009494/0.0009496, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.389/1.389, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.0009823/0.0009823, allocations: 179.6 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5211/0.5211, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004051, allocations: 8 kB / 0.5048 GB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3392, allocations: 72.47 MB / 0.5755 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004886/0.3442, allocations: 6.333 MB / 0.5817 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.3477, allocations: 1.897 MB / 0.5836 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005441/0.3483, allocations: 10.06 kB / 0.5836 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.3487, allocations: 171.6 kB / 0.5837 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.3501, allocations: 0.6353 MB / 0.5844 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3511, allocations: 0.5645 MB / 0.5849 GB, free: 30.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.3523, allocations: 1.344 MB / 0.5862 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.3527, allocations: 294.1 kB / 0.5865 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.3532, allocations: 0.5189 MB / 0.587 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.3538, allocations: 0.6605 MB / 0.5877 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3539, allocations: 50.31 kB / 0.5877 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.3543, allocations: 195.8 kB / 0.5879 GB, free: 29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.3545, allocations: 226.5 kB / 0.5881 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.3548, allocations: 0.5861 MB / 0.5887 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009389/0.3558, allocations: 1.43 MB / 0.5901 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3558, allocations: 0 / 0.5901 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3558, allocations: 0 / 0.5901 GB, free: 27.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.3558, allocations: 0 / 0.5901 GB, free: 27.91 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.00765/0.3635, allocations: 2.395 MB / 0.5924 GB, free: 26.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.3635, allocations: 9.875 kB / 0.5924 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005285/0.3688, allocations: 0.7847 MB / 0.5932 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.37, allocations: 0.7686 MB / 0.5939 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.3703, allocations: 266.9 kB / 0.5942 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.3705, allocations: 79.69 kB / 0.5943 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.3729, allocations: 1.169 MB / 0.5954 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3729, allocations: 3.938 kB / 0.5954 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/0.373, allocations: 34.53 kB / 0.5954 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.373, allocations: 22.06 kB / 0.5955 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.3757, allocations: 1.237 MB / 0.5967 GB, free: 25.12 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.005519/0.3812, allocations: 3.532 MB / 0.6001 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.3834, allocations: 1.517 MB / 0.6016 GB, free: 22.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.3851, allocations: 0.8758 MB / 0.6025 GB, free: 21.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-05/0.3852, allocations: 16.67 kB / 0.6025 GB, free: 21.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.3852, allocations: 40.53 kB / 0.6025 GB, free: 21.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.116e-06/0.3852, allocations: 0 / 0.6025 GB, free: 21.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02817/0.4134, allocations: 8.21 MB / 0.6105 GB, free: 20.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.4135, allocations: 62.66 kB / 0.6106 GB, free: 20.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.4147, allocations: 0.8967 MB / 0.6115 GB, free: 19.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.4149, allocations: 41.89 kB / 0.6115 GB, free: 19.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.4152, allocations: 0.4902 MB / 0.612 GB, free: 19.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.4155, allocations: 350.5 kB / 0.6123 GB, free: 19.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.4156, allocations: 112.1 kB / 0.6124 GB, free: 19.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.4157, allocations: 350 kB / 0.6128 GB, free: 18.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.4175, allocations: 0.8127 MB / 0.6136 GB, free: 18.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.4194, allocations: 0.9476 MB / 0.6145 GB, free: 18.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0199/0.4393, allocations: 5.392 MB / 0.6197 GB, free: 15.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.4394, allocations: 0 / 0.6197 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01407/0.4534, allocations: 5.218 MB / 0.6248 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4535, allocations: 4 kB / 0.6248 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4535, allocations: 7.938 kB / 0.6249 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006271/0.4598, allocations: 2.123 MB / 0.6269 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.4609, allocations: 219.8 kB / 0.6271 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02019/0.4811, allocations: 9.56 MB / 0.6365 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.4828, allocations: 219 kB / 0.6367 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.4829, allocations: 43.98 kB / 0.6367 GB, free: 14.42 MB / 446.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.0005402/0.4835, allocations: 254 kB / 0.637 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.4837, allocations: 118.5 kB / 0.6371 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/0.499, allocations: 4.959 MB / 0.6419 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.499, allocations: 8 kB / 0.6419 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.499, allocations: 8 kB / 0.6419 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.4991, allocations: 7.922 kB / 0.6419 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.5162, allocations: 6.559 MB / 0.6484 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.5163, allocations: 0 / 0.6484 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/0.5171, allocations: 155.8 kB / 0.6485 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006644/0.5238, allocations: 2.053 MB / 0.6505 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/0.524, allocations: 16 kB / 0.6505 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01959/0.5436, allocations: 8.221 MB / 0.6585 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5436, allocations: 0 / 0.6585 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/0.5631, allocations: 6.001 MB / 0.6644 GB, free: 1.734 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/0.5641, allocations: 207.4 kB / 0.6646 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/0.5646, allocations: 16 kB / 0.6646 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/0.5665, allocations: 155.9 kB / 0.6648 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/0.5676, allocations: 220.6 kB / 0.665 GB, free: 1.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.5678, allocations: 23.98 kB / 0.665 GB, free: 1.102 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001581/0.5694, allocations: 0.5969 MB / 0.6656 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5694, allocations: 4 kB / 0.6656 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002262/0.5717, allocations: 443.4 kB / 0.666 GB, free: 60 kB / 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.0003986/0.5721, allocations: 131.1 kB / 0.6661 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01421/0.5863, allocations: 2.793 MB / 0.6689 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.5864, allocations: 0 / 0.6689 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01045/0.5968, allocations: 1.806 MB / 0.6706 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.5986, allocations: 91.97 kB / 0.6707 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007498/0.6061, allocations: 2.493 MB / 0.6732 GB, free: 8.688 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.6074, allocations: 1.099 MB / 0.6742 GB, free: 7.559 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008422/0.6082, allocations: 82.77 kB / 0.6743 GB, free: 7.473 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.6087, allocations: 63.42 kB / 0.6744 GB, free: 7.41 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6087, allocations: 0 / 0.6744 GB, free: 7.41 MB / 478.1 MB Notification: Performance of Templates: time 0.06469/0.6734, allocations: 20.7 MB / 0.6946 GB, free: 2.746 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)