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.001562/0.001562, allocations: 108 kB / 15.6 MB, free: 132 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.391/1.391, allocations: 222.9 MB / 239.2 MB, free: 4.566 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.001393/0.001393, allocations: 188.5 kB / 289.5 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4755/0.4755, allocations: 78.53 MB / 418.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 75.88 kB / 497.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1524, allocations: 68.18 MB / 0.5524 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.238/0.3904, allocations: 6.369 MB / 0.5586 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.3941, allocations: 1.844 MB / 0.5604 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007498/0.3949, allocations: 14.03 kB / 0.5604 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005396/0.3955, allocations: 226.5 kB / 0.5606 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.3972, allocations: 0.7012 MB / 0.5613 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.3984, allocations: 0.6156 MB / 0.5619 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.3997, allocations: 1.387 MB / 0.5633 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004166/0.4001, allocations: 323 kB / 0.5636 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000643/0.4008, allocations: 0.5853 MB / 0.5641 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.4014, allocations: 0.7141 MB / 0.5648 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.4016, allocations: 104.1 kB / 0.5649 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.402, allocations: 241.5 kB / 0.5652 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.4022, allocations: 275.4 kB / 0.5654 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.4027, allocations: 0.6239 MB / 0.566 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.404, allocations: 1.487 MB / 0.5675 GB, free: 34.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.404, allocations: 0 / 0.5675 GB, free: 34.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.404, allocations: 1.75 kB / 0.5675 GB, free: 34.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.404, allocations: 0 / 0.5675 GB, free: 34.22 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.007378/0.4114, allocations: 2.535 MB / 0.57 GB, free: 33.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4115, allocations: 11.28 kB / 0.57 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/0.4161, allocations: 0.7796 MB / 0.5707 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.4173, allocations: 0.7588 MB / 0.5715 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.4175, allocations: 264.7 kB / 0.5717 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.4177, allocations: 78.97 kB / 0.5718 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.4197, allocations: 1.071 MB / 0.5729 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4197, allocations: 3.938 kB / 0.5729 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/0.4198, allocations: 32 kB / 0.5729 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.4198, allocations: 21 kB / 0.5729 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.422, allocations: 1.115 MB / 0.574 GB, free: 32.56 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.004787/0.4268, allocations: 3.445 MB / 0.5774 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.4286, allocations: 1.408 MB / 0.5787 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.43, allocations: 0.7764 MB / 0.5795 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/0.4301, allocations: 21.89 kB / 0.5795 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.4301, allocations: 38.44 kB / 0.5795 GB, free: 30.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.765e-06/0.4301, allocations: 0 / 0.5795 GB, free: 30.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02638/0.4565, allocations: 6.747 MB / 0.5861 GB, free: 28.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.4566, allocations: 66.31 kB / 0.5862 GB, free: 28.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.4579, allocations: 0.8835 MB / 0.5871 GB, free: 28.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.4581, allocations: 40.64 kB / 0.5871 GB, free: 28.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.4584, allocations: 0.4895 MB / 0.5876 GB, free: 28.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.4587, allocations: 342.2 kB / 0.5879 GB, free: 27.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.4591, allocations: 195 kB / 0.5881 GB, free: 27.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.4592, allocations: 345.1 kB / 0.5884 GB, free: 27.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.4609, allocations: 0.7185 MB / 0.5891 GB, free: 27.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.4626, allocations: 0.8366 MB / 0.5899 GB, free: 26.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01895/0.4816, allocations: 4.792 MB / 0.5946 GB, free: 25.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.4816, allocations: 1.531 kB / 0.5946 GB, free: 25.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01957/0.5012, allocations: 4.258 MB / 0.5988 GB, free: 24.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.5013, allocations: 7.406 kB / 0.5988 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.5013, allocations: 3 kB / 0.5988 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00827/0.5096, allocations: 1.866 MB / 0.6006 GB, free: 24.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.5113, allocations: 212.2 kB / 0.6008 GB, free: 24.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02967/0.541, allocations: 9.098 MB / 0.6097 GB, free: 19.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.5429, allocations: 177 kB / 0.6099 GB, free: 19.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002759/0.5433, allocations: 40.33 kB / 0.6099 GB, free: 19.05 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.0006016/0.5439, allocations: 245 kB / 0.6101 GB, free: 18.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003697/0.5442, allocations: 121.3 kB / 0.6103 GB, free: 18.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.5568, allocations: 4.005 MB / 0.6142 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.5569, allocations: 11.98 kB / 0.6142 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5569, allocations: 4.75 kB / 0.6142 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.5569, allocations: 3.984 kB / 0.6142 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.571, allocations: 5.614 MB / 0.6197 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/0.5711, allocations: 0 / 0.6197 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.5719, allocations: 127.8 kB / 0.6198 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005624/0.5776, allocations: 1.753 MB / 0.6215 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/0.5778, allocations: 20.92 kB / 0.6215 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/0.5945, allocations: 8.074 MB / 0.6294 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5945, allocations: 4 kB / 0.6294 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/0.6103, allocations: 4.966 MB / 0.6343 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.6109, allocations: 191.5 kB / 0.6344 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.6111, allocations: 16.61 kB / 0.6345 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.6122, allocations: 115.9 kB / 0.6346 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007265/0.6129, allocations: 212.7 kB / 0.6348 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.613, allocations: 31.92 kB / 0.6348 GB, free: 10.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000788/0.6138, allocations: 0.5887 MB / 0.6354 GB, free: 9.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6138, allocations: 0 / 0.6354 GB, free: 9.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001442/0.6152, allocations: 439.4 kB / 0.6358 GB, free: 9.012 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.0002992/0.6155, allocations: 135 kB / 0.6359 GB, free: 8.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007613/0.6232, allocations: 2.494 MB / 0.6384 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.6232, allocations: 0 / 0.6384 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005284/0.6285, allocations: 1.595 MB / 0.6399 GB, free: 4.758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.6296, allocations: 86.66 kB / 0.64 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.6335, allocations: 1.97 MB / 0.6419 GB, free: 2.695 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.6342, allocations: 1.084 MB / 0.643 GB, free: 1.586 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003822/0.6346, allocations: 89.97 kB / 0.6431 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.6348, allocations: 71.42 kB / 0.6431 GB, free: 1.426 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6348, allocations: 0 / 0.6431 GB, free: 1.426 MB / 446.1 MB Notification: Performance of Templates: time 0.0427/0.6775, allocations: 23.37 MB / 0.666 GB, free: 10.26 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)