Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.00131/0.00131, allocations: 100.1 kB / 15.88 MB, free: 12 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.342/1.342, allocations: 222.9 MB / 239.5 MB, free: 4.77 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.001569/0.001569, allocations: 188.5 kB / 289.8 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5045/0.5045, allocations: 91.9 MB / 431.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 79.88 kB / 0.5019 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3794, allocations: 71.26 MB / 0.5714 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005835/0.3853, allocations: 6.722 MB / 0.578 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.3888, allocations: 1.914 MB / 0.5799 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.3896, allocations: 21.12 kB / 0.5799 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.3902, allocations: 166.2 kB / 0.5801 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.3917, allocations: 0.6319 MB / 0.5807 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.3927, allocations: 0.5573 MB / 0.5812 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3938, allocations: 1.336 MB / 0.5825 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.3942, allocations: 294.8 kB / 0.5828 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.3948, allocations: 0.5406 MB / 0.5833 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000593/0.3954, allocations: 0.6979 MB / 0.584 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.3955, allocations: 68.81 kB / 0.5841 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.3959, allocations: 194 kB / 0.5843 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.3961, allocations: 240.8 kB / 0.5845 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.3965, allocations: 0.5872 MB / 0.5851 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.3973, allocations: 1.114 MB / 0.5862 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3973, allocations: 3.656 kB / 0.5862 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3973, allocations: 0 / 0.5862 GB, free: 28.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.3974, allocations: 0 / 0.5862 GB, free: 28.15 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.007429/0.4048, allocations: 2.538 MB / 0.5886 GB, free: 26.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4049, allocations: 9.125 kB / 0.5886 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.4096, allocations: 0.7754 MB / 0.5894 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/0.4106, allocations: 0.7647 MB / 0.5902 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.4108, allocations: 259.6 kB / 0.5904 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.411, allocations: 74.34 kB / 0.5905 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.4133, allocations: 1.071 MB / 0.5915 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4133, allocations: 5.219 kB / 0.5915 GB, free: 25.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.323e-05/0.4134, allocations: 34.16 kB / 0.5916 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.4134, allocations: 21.94 kB / 0.5916 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.4158, allocations: 1.12 MB / 0.5927 GB, free: 25.26 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.005421/0.4213, allocations: 3.44 MB / 0.596 GB, free: 23.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.4233, allocations: 1.41 MB / 0.5974 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.4249, allocations: 0.7756 MB / 0.5982 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.425, allocations: 16.78 kB / 0.5982 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.4251, allocations: 51.53 kB / 0.5982 GB, free: 22.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.636e-06/0.4251, allocations: 0 / 0.5982 GB, free: 22.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02719/0.4523, allocations: 6.747 MB / 0.6048 GB, free: 20.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.4523, allocations: 66.3 kB / 0.6049 GB, free: 20.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.4538, allocations: 0.88 MB / 0.6057 GB, free: 20.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.4541, allocations: 44.27 kB / 0.6058 GB, free: 20.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.4544, allocations: 497.3 kB / 0.6063 GB, free: 19.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/0.4548, allocations: 338.7 kB / 0.6066 GB, free: 19.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/0.4552, allocations: 193.6 kB / 0.6068 GB, free: 19.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.4554, allocations: 353.9 kB / 0.6071 GB, free: 19.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.457, allocations: 0.7164 MB / 0.6078 GB, free: 18.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.4588, allocations: 0.8353 MB / 0.6086 GB, free: 18.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01938/0.4782, allocations: 4.781 MB / 0.6133 GB, free: 17.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.4782, allocations: 1 kB / 0.6133 GB, free: 17.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01377/0.492, allocations: 4.265 MB / 0.6175 GB, free: 15.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.4921, allocations: 8 kB / 0.6175 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.4921, allocations: 0 / 0.6175 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005582/0.4977, allocations: 1.858 MB / 0.6193 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.4988, allocations: 207.7 kB / 0.6195 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01745/0.5163, allocations: 8.36 MB / 0.6276 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.5181, allocations: 171 kB / 0.6278 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.5182, allocations: 39.98 kB / 0.6278 GB, free: 4.492 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.0005309/0.5187, allocations: 243.4 kB / 0.6281 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.519, allocations: 122.4 kB / 0.6282 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/0.5305, allocations: 4.006 MB / 0.6321 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.5306, allocations: 12 kB / 0.6321 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5306, allocations: 0 / 0.6321 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.5307, allocations: 7.984 kB / 0.6321 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.546, allocations: 5.625 MB / 0.6376 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.546, allocations: 0 / 0.6376 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.5468, allocations: 127.8 kB / 0.6377 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005844/0.5526, allocations: 1.738 MB / 0.6394 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/0.5529, allocations: 16 kB / 0.6394 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/0.5698, allocations: 7.362 MB / 0.6466 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5698, allocations: 3.938 kB / 0.6466 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/0.5847, allocations: 4.958 MB / 0.6515 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.5852, allocations: 211.4 kB / 0.6517 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.5855, allocations: 19.98 kB / 0.6517 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.5867, allocations: 103.9 kB / 0.6518 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007788/0.5875, allocations: 220.6 kB / 0.652 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.883e-05/0.5876, allocations: 20 kB / 0.652 GB, free: 11.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008521/0.5884, allocations: 0.5927 MB / 0.6526 GB, free: 10.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5884, allocations: 0 / 0.6526 GB, free: 10.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00146/0.5899, allocations: 435.4 kB / 0.653 GB, free: 10.33 MB / 462.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.0003138/0.5902, allocations: 134.4 kB / 0.6532 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006765/0.597, allocations: 2.424 MB / 0.6555 GB, free: 7.754 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.597, allocations: 4 kB / 0.6555 GB, free: 7.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004686/0.6017, allocations: 1.541 MB / 0.657 GB, free: 6.191 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.6028, allocations: 88.36 kB / 0.6571 GB, free: 6.105 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/0.6072, allocations: 2.407 MB / 0.6595 GB, free: 3.672 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.6079, allocations: 1.088 MB / 0.6605 GB, free: 2.559 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.6082, allocations: 67.42 kB / 0.6606 GB, free: 2.492 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6083, allocations: 0 / 0.6606 GB, free: 2.492 MB / 462.1 MB Notification: Performance of Templates: time 0.02797/0.6362, allocations: 19.91 MB / 0.68 GB, free: 14.58 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)