Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009923/0.0009924, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.303/1.303, allocations: 222.9 MB / 240 MB, free: 4.496 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.001368/0.001368, allocations: 196.5 kB / 290.3 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4523/0.4523, allocations: 78.54 MB / 419 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 79.88 kB / 498.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1173, allocations: 68.17 MB / 0.5538 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2052/0.3226, allocations: 6.366 MB / 0.56 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.3249, allocations: 1.852 MB / 0.5618 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.3253, allocations: 13.75 kB / 0.5618 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.3257, allocations: 230.8 kB / 0.562 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.3269, allocations: 0.7045 MB / 0.5627 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009384/0.3279, allocations: 0.6027 MB / 0.5633 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009376/0.3288, allocations: 1.408 MB / 0.5647 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/0.3292, allocations: 324 kB / 0.565 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.3296, allocations: 0.5768 MB / 0.5656 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.3301, allocations: 0.7275 MB / 0.5663 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.3303, allocations: 100.4 kB / 0.5664 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.3306, allocations: 238.6 kB / 0.5666 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.3308, allocations: 277.5 kB / 0.5668 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.3311, allocations: 0.6165 MB / 0.5675 GB, free: 34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009321/0.3321, allocations: 1.512 MB / 0.5689 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3321, allocations: 1.375 kB / 0.5689 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3321, allocations: 3.031 kB / 0.5689 GB, free: 33.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.3321, allocations: 0 / 0.5689 GB, free: 33.62 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006622/0.3387, allocations: 2.532 MB / 0.5714 GB, free: 32.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.3388, allocations: 8.312 kB / 0.5714 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004497/0.3433, allocations: 0.778 MB / 0.5722 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.3442, allocations: 0.7744 MB / 0.5729 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.3444, allocations: 256.6 kB / 0.5732 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.3445, allocations: 78.38 kB / 0.5732 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.3463, allocations: 1.072 MB / 0.5743 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.3463, allocations: 5.344 kB / 0.5743 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/0.3464, allocations: 28.53 kB / 0.5743 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3464, allocations: 19.44 kB / 0.5743 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.3485, allocations: 1.117 MB / 0.5754 GB, free: 31.97 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.004309/0.3528, allocations: 3.424 MB / 0.5788 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.3544, allocations: 1.41 MB / 0.5802 GB, free: 30 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.3557, allocations: 0.7776 MB / 0.5809 GB, free: 29.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.3558, allocations: 9.812 kB / 0.5809 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3558, allocations: 48.03 kB / 0.581 GB, free: 29.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.154e-06/0.3558, allocations: 2.812 kB / 0.581 GB, free: 29.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02231/0.3781, allocations: 6.751 MB / 0.5876 GB, free: 28.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.3782, allocations: 61.28 kB / 0.5876 GB, free: 28.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.3795, allocations: 0.8806 MB / 0.5885 GB, free: 27.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.3796, allocations: 40.3 kB / 0.5885 GB, free: 27.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.38, allocations: 0.4901 MB / 0.589 GB, free: 27.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.3802, allocations: 337.7 kB / 0.5893 GB, free: 27.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/0.3806, allocations: 198.8 kB / 0.5895 GB, free: 27.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.3807, allocations: 352.5 kB / 0.5898 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.3822, allocations: 0.7078 MB / 0.5905 GB, free: 26.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.3838, allocations: 0.8406 MB / 0.5914 GB, free: 26.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/0.4006, allocations: 4.788 MB / 0.596 GB, free: 24.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.4006, allocations: 5 kB / 0.596 GB, free: 24.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01239/0.413, allocations: 4.257 MB / 0.6002 GB, free: 23.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4131, allocations: 8.281 kB / 0.6002 GB, free: 23.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4131, allocations: 3.062 kB / 0.6002 GB, free: 23.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005596/0.4187, allocations: 1.864 MB / 0.602 GB, free: 23.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/0.4196, allocations: 206.1 kB / 0.6022 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02444/0.444, allocations: 9.076 MB / 0.6111 GB, free: 18.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.4463, allocations: 178.6 kB / 0.6113 GB, free: 18.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/0.4466, allocations: 38.11 kB / 0.6113 GB, free: 18.55 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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.0007928/0.4474, allocations: 245.8 kB / 0.6115 GB, free: 18.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004267/0.4478, allocations: 118.9 kB / 0.6116 GB, free: 18.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/0.4661, allocations: 4.005 MB / 0.6156 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.4662, allocations: 12 kB / 0.6156 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4662, allocations: 3.938 kB / 0.6156 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.4662, allocations: 5.391 kB / 0.6156 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/0.4856, allocations: 5.615 MB / 0.6211 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.4856, allocations: 4.875 kB / 0.6211 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009385/0.4866, allocations: 123.8 kB / 0.6212 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008223/0.4948, allocations: 1.748 MB / 0.6229 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.495, allocations: 19.98 kB / 0.6229 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02492/0.52, allocations: 8.059 MB / 0.6308 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.52, allocations: 0 / 0.6308 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02236/0.5424, allocations: 4.972 MB / 0.6356 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005451/0.5429, allocations: 191.5 kB / 0.6358 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/0.5434, allocations: 20.98 kB / 0.6358 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/0.5451, allocations: 111.9 kB / 0.6359 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/0.5462, allocations: 217.8 kB / 0.6361 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.5464, allocations: 23.94 kB / 0.6362 GB, free: 9.555 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001343/0.5477, allocations: 0.5927 MB / 0.6368 GB, free: 8.953 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5478, allocations: 1.781 kB / 0.6368 GB, free: 8.953 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002022/0.5498, allocations: 435.4 kB / 0.6372 GB, free: 8.523 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.0003717/0.5502, allocations: 143.7 kB / 0.6373 GB, free: 8.379 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01073/0.5609, allocations: 2.465 MB / 0.6397 GB, free: 5.902 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5609, allocations: 3.938 kB / 0.6397 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007077/0.568, allocations: 1.598 MB / 0.6413 GB, free: 4.297 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.5693, allocations: 85.98 kB / 0.6414 GB, free: 4.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005559/0.5748, allocations: 1.927 MB / 0.6432 GB, free: 2.266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.5759, allocations: 1.084 MB / 0.6443 GB, free: 1.152 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005593/0.5765, allocations: 86.12 kB / 0.6444 GB, free: 1.066 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.5769, allocations: 73.3 kB / 0.6445 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5769, allocations: 3.938 kB / 0.6445 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of Templates: time 0.05582/0.6327, allocations: 23.38 MB / 0.6673 GB, free: 9.82 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)