Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001294/0.001294, allocations: 105.9 kB / 16.41 MB, free: 6.457 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.386/1.386, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001574/0.001575, allocations: 196.4 kB / 290.4 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.473/0.473, allocations: 78.52 MB / 419.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 75.88 kB / 0.5543 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3299, allocations: 68.17 MB / 0.6209 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005808/0.3357, allocations: 6.432 MB / 0.6272 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.3391, allocations: 1.865 MB / 0.629 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000913/0.34, allocations: 8 kB / 0.629 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.3407, allocations: 226 kB / 0.6292 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.3426, allocations: 0.7263 MB / 0.6299 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3439, allocations: 0.6046 MB / 0.6305 GB, free: 348 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.3458, allocations: 1.421 MB / 0.6319 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005405/0.3463, allocations: 332.3 kB / 0.6322 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009094/0.3472, allocations: 0.5874 MB / 0.6328 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008625/0.3481, allocations: 0.7349 MB / 0.6335 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.3483, allocations: 104 kB / 0.6336 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005509/0.3489, allocations: 239.8 kB / 0.6338 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.3491, allocations: 282.8 kB / 0.6341 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005798/0.3497, allocations: 0.6212 MB / 0.6347 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.3515, allocations: 1.527 MB / 0.6362 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3515, allocations: 3.938 kB / 0.6362 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3515, allocations: 4 kB / 0.6362 GB, free: 10.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.3515, allocations: 0 / 0.6362 GB, free: 10.48 MB / 446.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.008456/0.36, allocations: 2.556 MB / 0.6387 GB, free: 7.859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.3601, allocations: 12.02 kB / 0.6387 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005362/0.3654, allocations: 0.7788 MB / 0.6395 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.3672, allocations: 0.7763 MB / 0.6402 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.3675, allocations: 260.1 kB / 0.6405 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.3678, allocations: 80 kB / 0.6405 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.3706, allocations: 1.073 MB / 0.6416 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3706, allocations: 3.938 kB / 0.6416 GB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.3707, allocations: 36 kB / 0.6416 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3707, allocations: 16 kB / 0.6416 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/0.3735, allocations: 1.12 MB / 0.6427 GB, free: 3.609 MB / 446.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.006388/0.3799, allocations: 3.448 MB / 0.6461 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.3821, allocations: 1.423 MB / 0.6475 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.3838, allocations: 0.789 MB / 0.6483 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.384, allocations: 12.98 kB / 0.6483 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.384, allocations: 43.56 kB / 0.6483 GB, free: 13.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.116e-06/0.384, allocations: 0 / 0.6483 GB, free: 13.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.0271/0.4111, allocations: 6.606 MB / 0.6548 GB, free: 6.973 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.4112, allocations: 68.41 kB / 0.6548 GB, free: 6.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.4126, allocations: 0.8963 MB / 0.6557 GB, free: 5.977 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002575/0.4129, allocations: 41.7 kB / 0.6558 GB, free: 5.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.4133, allocations: 496.8 kB / 0.6562 GB, free: 5.438 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/0.4138, allocations: 354.9 kB / 0.6566 GB, free: 5.086 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005175/0.4143, allocations: 198.8 kB / 0.6568 GB, free: 4.883 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4144, allocations: 349.9 kB / 0.6571 GB, free: 4.535 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.4162, allocations: 0.7209 MB / 0.6578 GB, free: 3.816 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.4181, allocations: 0.854 MB / 0.6586 GB, free: 2.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01942/0.4375, allocations: 4.826 MB / 0.6633 GB, free: 14.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.4376, allocations: 0 / 0.6633 GB, free: 14.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01473/0.4523, allocations: 4.265 MB / 0.6675 GB, free: 9.789 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.4524, allocations: 10.5 kB / 0.6675 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.4524, allocations: 11.88 kB / 0.6675 GB, free: 9.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006524/0.4589, allocations: 1.803 MB / 0.6693 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4601, allocations: 215.7 kB / 0.6695 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/0.4834, allocations: 9.32 MB / 0.6786 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.4851, allocations: 179 kB / 0.6788 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.4854, allocations: 39.98 kB / 0.6788 GB, free: 14.06 MB / 494.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.0007297/0.4861, allocations: 249.5 kB / 0.679 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.4864, allocations: 118.5 kB / 0.6792 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.5006, allocations: 4.018 MB / 0.6831 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.5006, allocations: 11.98 kB / 0.6831 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5006, allocations: 0 / 0.6831 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.5007, allocations: 3.984 kB / 0.6831 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/0.5174, allocations: 5.61 MB / 0.6886 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.5174, allocations: 0 / 0.6886 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/0.5183, allocations: 135.8 kB / 0.6887 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00639/0.5247, allocations: 1.745 MB / 0.6904 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/0.5249, allocations: 16 kB / 0.6904 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/0.5451, allocations: 8.072 MB / 0.6983 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5452, allocations: 0 / 0.6983 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/0.5618, allocations: 4.96 MB / 0.7031 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.5622, allocations: 207.4 kB / 0.7033 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003462/0.5626, allocations: 16 kB / 0.7034 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.5638, allocations: 115.8 kB / 0.7035 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007778/0.5646, allocations: 220.6 kB / 0.7037 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.5648, allocations: 23.98 kB / 0.7037 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008683/0.5657, allocations: 0.5969 MB / 0.7043 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5657, allocations: 0 / 0.7043 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00155/0.5672, allocations: 455.4 kB / 0.7047 GB, free: 3.156 MB / 0.4981 GB 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.0003558/0.5676, allocations: 127.1 kB / 0.7048 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007343/0.5749, allocations: 2.5 MB / 0.7073 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.575, allocations: 0 / 0.7073 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005314/0.5803, allocations: 1.585 MB / 0.7088 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.5814, allocations: 80.42 kB / 0.7089 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.5859, allocations: 2.042 MB / 0.7109 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.5867, allocations: 1.099 MB / 0.712 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.5871, allocations: 75.42 kB / 0.712 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.5871, allocations: 0 / 0.712 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.02927/0.6164, allocations: 20.2 MB / 0.7318 GB, free: 7.328 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)