Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 239.2 MB, free: 4.609 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.001229/0.001229, allocations: 188.5 kB / 289.5 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5098/0.5098, allocations: 91.9 MB / 431.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 83.86 kB / 0.5019 GB, free: 7.758 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3603, allocations: 71.26 MB / 0.5715 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005066/0.3654, allocations: 5.703 MB / 0.577 GB, free: 33.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.369, allocations: 1.724 MB / 0.5787 GB, free: 32.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000693/0.3697, allocations: 13.88 kB / 0.5787 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.3703, allocations: 206.5 kB / 0.5789 GB, free: 32.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.3719, allocations: 0.669 MB / 0.5796 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3731, allocations: 0.5621 MB / 0.5801 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.3745, allocations: 1.22 MB / 0.5813 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.3749, allocations: 282.2 kB / 0.5816 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005402/0.3755, allocations: 0.5143 MB / 0.5821 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005231/0.376, allocations: 0.6368 MB / 0.5827 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.3761, allocations: 87.03 kB / 0.5828 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.3766, allocations: 222.8 kB / 0.583 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.3767, allocations: 237.5 kB / 0.5832 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.377, allocations: 0.5367 MB / 0.5838 GB, free: 29.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.3782, allocations: 1.32 MB / 0.585 GB, free: 28.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3782, allocations: 3.688 kB / 0.585 GB, free: 28.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3782, allocations: 4 kB / 0.5851 GB, free: 28.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.3783, allocations: 0 / 0.5851 GB, free: 28.95 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007896/0.3862, allocations: 2.335 MB / 0.5873 GB, free: 27.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.3862, allocations: 13.69 kB / 0.5873 GB, free: 27.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.3914, allocations: 0.751 MB / 0.5881 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3925, allocations: 0.7031 MB / 0.5888 GB, free: 27.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/0.3928, allocations: 251.3 kB / 0.589 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3929, allocations: 71.84 kB / 0.5891 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.3948, allocations: 0.9351 MB / 0.59 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.3948, allocations: 9.281 kB / 0.59 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-05/0.3949, allocations: 28.75 kB / 0.59 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.395, allocations: 16.31 kB / 0.59 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.397, allocations: 0.9686 MB / 0.591 GB, free: 26.3 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.004956/0.402, allocations: 3.154 MB / 0.5941 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.4039, allocations: 1.307 MB / 0.5953 GB, free: 23.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.4053, allocations: 0.6953 MB / 0.596 GB, free: 23.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.955e-05/0.4054, allocations: 17.95 kB / 0.596 GB, free: 23.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4054, allocations: 42.84 kB / 0.5961 GB, free: 23.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.625e-06/0.4054, allocations: 0 / 0.5961 GB, free: 23.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02823/0.4337, allocations: 6.699 MB / 0.6026 GB, free: 22.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.4338, allocations: 59.62 kB / 0.6027 GB, free: 21.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.4349, allocations: 0.7872 MB / 0.6034 GB, free: 21.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.4351, allocations: 41.83 kB / 0.6035 GB, free: 21.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.4354, allocations: 428.9 kB / 0.6039 GB, free: 21.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.4357, allocations: 288.3 kB / 0.6042 GB, free: 21.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/0.4361, allocations: 175.8 kB / 0.6043 GB, free: 20.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4363, allocations: 342.5 kB / 0.6047 GB, free: 20.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.4379, allocations: 0.6446 MB / 0.6053 GB, free: 20.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.4395, allocations: 0.7621 MB / 0.606 GB, free: 20.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01857/0.4581, allocations: 4.461 MB / 0.6104 GB, free: 18.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.4582, allocations: 0.9062 kB / 0.6104 GB, free: 18.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01443/0.4726, allocations: 4.053 MB / 0.6144 GB, free: 17.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.4727, allocations: 5.719 kB / 0.6144 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.4727, allocations: 2.719 kB / 0.6144 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006359/0.4791, allocations: 1.864 MB / 0.6162 GB, free: 16.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.4799, allocations: 159.8 kB / 0.6163 GB, free: 16.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/0.4992, allocations: 9.106 MB / 0.6252 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.5009, allocations: 159 kB / 0.6254 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/0.501, allocations: 35.98 kB / 0.6254 GB, free: 6.812 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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.0004682/0.5014, allocations: 221.7 kB / 0.6256 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.5016, allocations: 98.78 kB / 0.6257 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.5138, allocations: 3.829 MB / 0.6295 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5138, allocations: 8 kB / 0.6295 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.5138, allocations: 0 / 0.6295 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/0.5139, allocations: 3.984 kB / 0.6295 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.5286, allocations: 5.324 MB / 0.6347 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.5287, allocations: 7.984 kB / 0.6347 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/0.5293, allocations: 83.89 kB / 0.6348 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006415/0.5358, allocations: 1.753 MB / 0.6365 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.536, allocations: 12 kB / 0.6365 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01937/0.5553, allocations: 8.084 MB / 0.6444 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.5554, allocations: 4 kB / 0.6444 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.5706, allocations: 4.684 MB / 0.649 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.571, allocations: 187.7 kB / 0.6491 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.5712, allocations: 15.94 kB / 0.6491 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/0.5722, allocations: 91.95 kB / 0.6492 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006318/0.5728, allocations: 196.7 kB / 0.6494 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.5729, allocations: 20 kB / 0.6494 GB, free: 13.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006858/0.5736, allocations: 0.5341 MB / 0.65 GB, free: 13.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5736, allocations: 4 kB / 0.65 GB, free: 13.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001173/0.5748, allocations: 403.5 kB / 0.6504 GB, free: 12.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.0002568/0.575, allocations: 115.2 kB / 0.6505 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006966/0.582, allocations: 2.33 MB / 0.6527 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.582, allocations: 3.938 kB / 0.6527 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005137/0.5872, allocations: 1.5 MB / 0.6542 GB, free: 8.926 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.5883, allocations: 85.33 kB / 0.6543 GB, free: 8.848 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.5919, allocations: 1.667 MB / 0.6559 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.5928, allocations: 1.029 MB / 0.6569 GB, free: 6.105 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003322/0.5931, allocations: 82.17 kB / 0.657 GB, free: 6.023 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.5933, allocations: 55.44 kB / 0.657 GB, free: 5.969 MB / 462.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5933, allocations: 0 / 0.657 GB, free: 5.969 MB / 462.1 MB Notification: Performance of Templates: time 0.03991/0.6332, allocations: 22.09 MB / 0.6786 GB, free: 15.89 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)