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.001162/0.001162, allocations: 103 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.329/1.329, allocations: 222.9 MB / 240 MB, free: 4.488 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.001268/0.001268, allocations: 199 kB / 290.3 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4598/0.4598, allocations: 78.53 MB / 419 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 83.86 kB / 498.9 MB, free: 5.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1559, allocations: 68.18 MB / 0.5538 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2398/0.3957, allocations: 6.375 MB / 0.56 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003907/0.3997, allocations: 1.847 MB / 0.5618 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008002/0.4005, allocations: 11.28 kB / 0.5618 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.4011, allocations: 231.3 kB / 0.562 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.4029, allocations: 0.7039 MB / 0.5627 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.4042, allocations: 0.607 MB / 0.5633 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.4056, allocations: 1.397 MB / 0.5647 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.4061, allocations: 329.5 kB / 0.565 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006672/0.4068, allocations: 0.584 MB / 0.5656 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.4075, allocations: 0.7194 MB / 0.5663 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.4076, allocations: 103 kB / 0.5664 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.4082, allocations: 234.4 kB / 0.5666 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.4084, allocations: 280.1 kB / 0.5669 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.4089, allocations: 0.6243 MB / 0.5675 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.4103, allocations: 1.506 MB / 0.5689 GB, free: 33.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4103, allocations: 3.312 kB / 0.5689 GB, free: 33.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4103, allocations: 0 / 0.5689 GB, free: 33.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.4103, allocations: 0 / 0.5689 GB, free: 33.75 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.006946/0.4173, allocations: 2.535 MB / 0.5714 GB, free: 32.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4173, allocations: 9.375 kB / 0.5714 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/0.422, allocations: 0.7805 MB / 0.5722 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.423, allocations: 0.7664 MB / 0.5729 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.4233, allocations: 258.8 kB / 0.5732 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.4234, allocations: 73.16 kB / 0.5732 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.4253, allocations: 1.074 MB / 0.5743 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4254, allocations: 3.938 kB / 0.5743 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.4254, allocations: 27.5 kB / 0.5743 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4255, allocations: 18.38 kB / 0.5743 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.4276, allocations: 1.123 MB / 0.5754 GB, free: 32.1 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.004658/0.4322, allocations: 3.418 MB / 0.5788 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.4339, allocations: 1.41 MB / 0.5802 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.4352, allocations: 0.774 MB / 0.5809 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.4353, allocations: 23.39 kB / 0.5809 GB, free: 29.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.4354, allocations: 40.72 kB / 0.581 GB, free: 29.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.296e-06/0.4354, allocations: 0.8906 kB / 0.581 GB, free: 29.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02418/0.4596, allocations: 6.746 MB / 0.5876 GB, free: 28.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.4596, allocations: 64.92 kB / 0.5876 GB, free: 28.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.4609, allocations: 0.8804 MB / 0.5885 GB, free: 28.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002353/0.4612, allocations: 49.11 kB / 0.5885 GB, free: 28.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.4615, allocations: 0.4936 MB / 0.589 GB, free: 27.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.4619, allocations: 342.1 kB / 0.5893 GB, free: 27.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003898/0.4623, allocations: 194.1 kB / 0.5895 GB, free: 27.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.4623, allocations: 344.9 kB / 0.5899 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.4639, allocations: 0.716 MB / 0.5905 GB, free: 26.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.4657, allocations: 0.8402 MB / 0.5914 GB, free: 26.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/0.4835, allocations: 4.778 MB / 0.596 GB, free: 25.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.4835, allocations: 0 / 0.596 GB, free: 25.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01288/0.4964, allocations: 4.265 MB / 0.6002 GB, free: 23.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.4965, allocations: 9.859 kB / 0.6002 GB, free: 23.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4965, allocations: 5.531 kB / 0.6002 GB, free: 23.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005963/0.5025, allocations: 1.862 MB / 0.602 GB, free: 23.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.5036, allocations: 202.6 kB / 0.6022 GB, free: 23.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.5228, allocations: 9.074 MB / 0.6111 GB, free: 18.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.5244, allocations: 179.1 kB / 0.6113 GB, free: 18.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.5245, allocations: 42.11 kB / 0.6113 GB, free: 18.58 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.0004542/0.525, allocations: 241.9 kB / 0.6115 GB, free: 18.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.5252, allocations: 118.6 kB / 0.6116 GB, free: 18.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.5367, allocations: 4.012 MB / 0.6156 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.5368, allocations: 8 kB / 0.6156 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5368, allocations: 3.938 kB / 0.6156 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.5368, allocations: 3.984 kB / 0.6156 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/0.5494, allocations: 5.611 MB / 0.6211 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.5494, allocations: 0 / 0.6211 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/0.5501, allocations: 138.1 kB / 0.6212 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004923/0.555, allocations: 1.739 MB / 0.6229 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.5553, allocations: 16.61 kB / 0.6229 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/0.5711, allocations: 8.066 MB / 0.6308 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5712, allocations: 0 / 0.6308 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.5859, allocations: 4.969 MB / 0.6356 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/0.5864, allocations: 199.5 kB / 0.6358 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.5866, allocations: 16.94 kB / 0.6358 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.5875, allocations: 107.9 kB / 0.6359 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006755/0.5882, allocations: 216.7 kB / 0.6361 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.264e-05/0.5883, allocations: 23.94 kB / 0.6362 GB, free: 9.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008054/0.5891, allocations: 0.6004 MB / 0.6368 GB, free: 8.969 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5892, allocations: 8 kB / 0.6368 GB, free: 8.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001339/0.5905, allocations: 431.4 kB / 0.6372 GB, free: 8.535 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.0002978/0.5908, allocations: 132.2 kB / 0.6373 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006922/0.5977, allocations: 2.471 MB / 0.6397 GB, free: 5.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5978, allocations: 4.125 kB / 0.6397 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004462/0.6022, allocations: 1.587 MB / 0.6413 GB, free: 4.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008179/0.6031, allocations: 91.2 kB / 0.6414 GB, free: 4.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.6067, allocations: 1.931 MB / 0.6432 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.6074, allocations: 1.088 MB / 0.6443 GB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003306/0.6077, allocations: 86.69 kB / 0.6444 GB, free: 1.082 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.6079, allocations: 71.41 kB / 0.6445 GB, free: 1.012 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6079, allocations: 1.969 kB / 0.6445 GB, free: 1.012 MB / 446.1 MB Notification: Performance of Templates: time 0.03601/0.644, allocations: 23.38 MB / 0.6673 GB, free: 9.836 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)