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.001462/0.001462, allocations: 103.1 kB / 16.27 MB, free: 5.977 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.582 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.001321/0.00132, allocations: 207.3 kB / 290.2 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5386/0.5386, allocations: 91.91 MB / 432.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 91.86 kB / 0.5025 GB, free: 7.734 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.355, allocations: 71.25 MB / 0.5721 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005734/0.3608, allocations: 6.396 MB / 0.5784 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003676/0.3645, allocations: 1.859 MB / 0.5802 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009034/0.3655, allocations: 12.84 kB / 0.5802 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.3661, allocations: 223.8 kB / 0.5804 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.3679, allocations: 0.7106 MB / 0.5811 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3691, allocations: 0.6038 MB / 0.5817 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.3704, allocations: 1.396 MB / 0.5831 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.3708, allocations: 331.8 kB / 0.5834 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006403/0.3715, allocations: 0.5826 MB / 0.5839 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005917/0.3721, allocations: 0.7211 MB / 0.5846 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3722, allocations: 99.31 kB / 0.5847 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.3727, allocations: 232.2 kB / 0.585 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.3729, allocations: 280.3 kB / 0.5852 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.3733, allocations: 0.6227 MB / 0.5858 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.3745, allocations: 1.48 MB / 0.5873 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3746, allocations: 4 kB / 0.5873 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3746, allocations: 0 / 0.5873 GB, free: 27.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.3746, allocations: 0 / 0.5873 GB, free: 27.98 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.008307/0.3829, allocations: 2.537 MB / 0.5898 GB, free: 26.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.383, allocations: 9.75 kB / 0.5898 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005229/0.3882, allocations: 0.7834 MB / 0.5905 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.3898, allocations: 0.7629 MB / 0.5913 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.3901, allocations: 261.2 kB / 0.5915 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.3904, allocations: 79 kB / 0.5916 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.3931, allocations: 1.071 MB / 0.5927 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3932, allocations: 3.938 kB / 0.5927 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.3933, allocations: 30.53 kB / 0.5927 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.3933, allocations: 18.31 kB / 0.5927 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.3962, allocations: 1.116 MB / 0.5938 GB, free: 25.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.00807/0.4043, allocations: 3.438 MB / 0.5972 GB, free: 23.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.407, allocations: 1.41 MB / 0.5985 GB, free: 22.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.409, allocations: 0.7799 MB / 0.5993 GB, free: 21.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.4091, allocations: 16.39 kB / 0.5993 GB, free: 21.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.4092, allocations: 47.81 kB / 0.5994 GB, free: 21.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.887e-06/0.4092, allocations: 0 / 0.5994 GB, free: 21.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02848/0.4377, allocations: 6.751 MB / 0.6059 GB, free: 20.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.4378, allocations: 62.94 kB / 0.606 GB, free: 20.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.4392, allocations: 0.8796 MB / 0.6069 GB, free: 20.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.4394, allocations: 45.3 kB / 0.6069 GB, free: 20.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.4397, allocations: 0.4926 MB / 0.6074 GB, free: 19.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.4401, allocations: 338.3 kB / 0.6077 GB, free: 19.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/0.4405, allocations: 193.6 kB / 0.6079 GB, free: 19.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.4406, allocations: 353.6 kB / 0.6082 GB, free: 19.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.4424, allocations: 0.7162 MB / 0.6089 GB, free: 18.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.4442, allocations: 0.8317 MB / 0.6097 GB, free: 18.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0195/0.4637, allocations: 4.8 MB / 0.6144 GB, free: 17.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.4638, allocations: 0 / 0.6144 GB, free: 17.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01498/0.4788, allocations: 4.265 MB / 0.6186 GB, free: 14.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.4788, allocations: 4 kB / 0.6186 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.4789, allocations: 7.984 kB / 0.6186 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005761/0.4846, allocations: 1.862 MB / 0.6204 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.4858, allocations: 207.7 kB / 0.6206 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/0.505, allocations: 9.094 MB / 0.6295 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.5067, allocations: 175 kB / 0.6297 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.5068, allocations: 39.98 kB / 0.6297 GB, free: 3.039 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.0004563/0.5073, allocations: 243.3 kB / 0.6299 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.5075, allocations: 118.5 kB / 0.6301 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.5204, allocations: 4.006 MB / 0.634 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.5205, allocations: 12 kB / 0.634 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5205, allocations: 3.938 kB / 0.634 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/0.5205, allocations: 3.984 kB / 0.634 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.5369, allocations: 5.614 MB / 0.6395 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.537, allocations: 0 / 0.6395 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/0.5378, allocations: 131.8 kB / 0.6396 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006332/0.5441, allocations: 1.745 MB / 0.6413 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/0.5444, allocations: 20 kB / 0.6413 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/0.5637, allocations: 8.08 MB / 0.6492 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5638, allocations: 0 / 0.6492 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/0.58, allocations: 4.962 MB / 0.6541 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.5805, allocations: 207.4 kB / 0.6543 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.5808, allocations: 20.06 kB / 0.6543 GB, free: 9.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.5819, allocations: 103.9 kB / 0.6544 GB, free: 9.418 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007102/0.5826, allocations: 228.7 kB / 0.6546 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-05/0.5827, allocations: 27.94 kB / 0.6546 GB, free: 9.164 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000778/0.5835, allocations: 0.5965 MB / 0.6552 GB, free: 8.559 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5835, allocations: 0 / 0.6552 GB, free: 8.559 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001355/0.5848, allocations: 431.5 kB / 0.6556 GB, free: 8.137 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.0002774/0.5851, allocations: 131.1 kB / 0.6557 GB, free: 7.996 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007689/0.5928, allocations: 2.504 MB / 0.6582 GB, free: 5.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.5929, allocations: 3.938 kB / 0.6582 GB, free: 5.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005155/0.598, allocations: 1.586 MB / 0.6597 GB, free: 3.883 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009867/0.5991, allocations: 91 kB / 0.6598 GB, free: 3.797 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.6035, allocations: 2.001 MB / 0.6618 GB, free: 1.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.6042, allocations: 1.088 MB / 0.6628 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.6046, allocations: 67.42 kB / 0.6629 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6046, allocations: 0 / 0.6629 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of Templates: time 0.02994/0.6346, allocations: 19.92 MB / 0.6823 GB, free: 12.66 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)