Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.383/1.383, allocations: 222.9 MB / 238.8 MB, free: 4.676 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.001342/0.001342, allocations: 200.4 kB / 289.1 MB, free: 2.414 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.496/0.496, allocations: 91.9 MB / 431.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 79.86 kB / 0.5012 GB, free: 8.148 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3454, allocations: 71.27 MB / 0.5708 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005312/0.3507, allocations: 6.789 MB / 0.5774 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.3537, allocations: 1.921 MB / 0.5793 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006029/0.3544, allocations: 18.72 kB / 0.5793 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.3549, allocations: 169.3 kB / 0.5795 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.3564, allocations: 0.6468 MB / 0.5801 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3575, allocations: 0.5542 MB / 0.5807 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.3586, allocations: 1.355 MB / 0.582 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.359, allocations: 295.6 kB / 0.5823 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.3596, allocations: 0.5435 MB / 0.5828 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000525/0.3601, allocations: 0.7037 MB / 0.5835 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.3603, allocations: 66.12 kB / 0.5835 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.3607, allocations: 202.6 kB / 0.5837 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3608, allocations: 241 kB / 0.584 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.3612, allocations: 0.5851 MB / 0.5845 GB, free: 28.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009743/0.3621, allocations: 1.459 MB / 0.586 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3622, allocations: 10.11 kB / 0.586 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3622, allocations: 0 / 0.586 GB, free: 28.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.3622, allocations: 0 / 0.586 GB, free: 28.04 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007711/0.3699, allocations: 2.561 MB / 0.5885 GB, free: 26.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.37, allocations: 13.84 kB / 0.5885 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.375, allocations: 0.7775 MB / 0.5892 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.3763, allocations: 0.7678 MB / 0.59 GB, free: 26.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/0.3766, allocations: 258 kB / 0.5902 GB, free: 25.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.3768, allocations: 79.91 kB / 0.5903 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.379, allocations: 1.083 MB / 0.5914 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.3791, allocations: 5.531 kB / 0.5914 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.024e-05/0.3792, allocations: 29.66 kB / 0.5914 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.3792, allocations: 18.09 kB / 0.5914 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.3816, allocations: 1.119 MB / 0.5925 GB, free: 25.14 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.005786/0.3874, allocations: 3.471 MB / 0.5959 GB, free: 23.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.3894, allocations: 1.427 MB / 0.5973 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.391, allocations: 0.7848 MB / 0.5981 GB, free: 21.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.3911, allocations: 18.38 kB / 0.5981 GB, free: 21.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3911, allocations: 43.34 kB / 0.5981 GB, free: 21.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.347e-06/0.3911, allocations: 0 / 0.5981 GB, free: 21.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02592/0.4171, allocations: 6.606 MB / 0.6046 GB, free: 20.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.4172, allocations: 61.53 kB / 0.6046 GB, free: 20.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.4185, allocations: 0.8974 MB / 0.6055 GB, free: 20.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002369/0.4187, allocations: 45.39 kB / 0.6056 GB, free: 20.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.4191, allocations: 495.2 kB / 0.606 GB, free: 19.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/0.4194, allocations: 350.9 kB / 0.6064 GB, free: 19.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000406/0.4199, allocations: 201.5 kB / 0.6066 GB, free: 19.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.4199, allocations: 344.4 kB / 0.6069 GB, free: 19.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.4215, allocations: 0.729 MB / 0.6076 GB, free: 18.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.4232, allocations: 0.8552 MB / 0.6084 GB, free: 18.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01826/0.4415, allocations: 4.824 MB / 0.6131 GB, free: 17.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4415, allocations: 1.344 kB / 0.6131 GB, free: 17.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01289/0.4544, allocations: 4.272 MB / 0.6173 GB, free: 14.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.4545, allocations: 8 kB / 0.6173 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4545, allocations: 3.938 kB / 0.6173 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005444/0.4599, allocations: 1.801 MB / 0.6191 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.461, allocations: 211.7 kB / 0.6193 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/0.478, allocations: 8.583 MB / 0.6277 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.4795, allocations: 175 kB / 0.6278 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.4796, allocations: 39.98 kB / 0.6279 GB, free: 3.918 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004444/0.4801, allocations: 251 kB / 0.6281 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.4803, allocations: 126.4 kB / 0.6282 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/0.4923, allocations: 4.006 MB / 0.6321 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.4923, allocations: 12 kB / 0.6322 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4924, allocations: 0 / 0.6322 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.4924, allocations: 11.86 kB / 0.6322 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.5069, allocations: 5.618 MB / 0.6377 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.5069, allocations: 0 / 0.6377 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000686/0.5076, allocations: 131.8 kB / 0.6378 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005813/0.5134, allocations: 1.745 MB / 0.6395 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.5136, allocations: 24 kB / 0.6395 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/0.5308, allocations: 7.358 MB / 0.6467 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5309, allocations: 0 / 0.6467 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/0.5456, allocations: 4.962 MB / 0.6515 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/0.546, allocations: 207.3 kB / 0.6517 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.5462, allocations: 16 kB / 0.6517 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009748/0.5472, allocations: 107.9 kB / 0.6519 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007012/0.5479, allocations: 216.6 kB / 0.6521 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.548, allocations: 20 kB / 0.6521 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007385/0.5488, allocations: 0.6047 MB / 0.6527 GB, free: 10.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5488, allocations: 0 / 0.6527 GB, free: 10.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001166/0.5499, allocations: 443.4 kB / 0.6531 GB, free: 9.727 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.000249/0.5502, allocations: 135 kB / 0.6532 GB, free: 9.586 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006481/0.5567, allocations: 2.466 MB / 0.6556 GB, free: 7.102 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.5567, allocations: 0 / 0.6556 GB, free: 7.102 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004512/0.5612, allocations: 1.549 MB / 0.6571 GB, free: 5.543 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.562, allocations: 92.34 kB / 0.6572 GB, free: 5.453 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.5656, allocations: 2.431 MB / 0.6596 GB, free: 2.996 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.5662, allocations: 1.099 MB / 0.6607 GB, free: 1.871 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003547/0.5666, allocations: 86.77 kB / 0.6608 GB, free: 1.781 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.5668, allocations: 63.42 kB / 0.6608 GB, free: 1.719 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5668, allocations: 3.938 kB / 0.6608 GB, free: 1.715 MB / 462.1 MB Notification: Performance of Templates: time 0.0305/0.5973, allocations: 21.17 MB / 0.6815 GB, free: 12.58 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)