Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.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.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 107.9 kB / 16.27 MB, free: 6.41 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.224/1.224, allocations: 222.9 MB / 239.9 MB, free: 4.453 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.001263/0.001262, allocations: 192.5 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.416/0.416, allocations: 78.53 MB / 418.9 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 83.86 kB / 498.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 68.17 MB / 0.553 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.1841/0.2927, allocations: 6.626 MB / 0.5595 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.2964, allocations: 2.022 MB / 0.5615 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004597/0.2969, allocations: 11.94 kB / 0.5615 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006727/0.2976, allocations: 244.8 kB / 0.5617 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.2995, allocations: 0.761 MB / 0.5625 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.301, allocations: 0.665 MB / 0.5631 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.3025, allocations: 1.632 MB / 0.5647 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005362/0.303, allocations: 342.7 kB / 0.565 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.3037, allocations: 0.6745 MB / 0.5657 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008844/0.3046, allocations: 0.8163 MB / 0.5665 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.3048, allocations: 122 kB / 0.5666 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.3053, allocations: 263.1 kB / 0.5668 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.3056, allocations: 323.5 kB / 0.5672 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000533/0.3062, allocations: 0.6779 MB / 0.5678 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.3076, allocations: 1.672 MB / 0.5695 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3076, allocations: 0 / 0.5695 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3076, allocations: 4.125 kB / 0.5695 GB, free: 33.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3076, allocations: 0.5 kB / 0.5695 GB, free: 33.57 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.01131/0.3189, allocations: 2.766 MB / 0.5722 GB, free: 32.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.319, allocations: 12.28 kB / 0.5722 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006754/0.3257, allocations: 0.7873 MB / 0.5729 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.3268, allocations: 0.8816 MB / 0.5738 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.327, allocations: 250.6 kB / 0.574 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3272, allocations: 88.36 kB / 0.5741 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.329, allocations: 1.18 MB / 0.5753 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.3291, allocations: 0 / 0.5753 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/0.3292, allocations: 34.91 kB / 0.5753 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.3292, allocations: 21.5 kB / 0.5753 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.3311, allocations: 1.071 MB / 0.5764 GB, free: 31.79 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.004745/0.3358, allocations: 3.689 MB / 0.58 GB, free: 30.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.3378, allocations: 1.552 MB / 0.5815 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.3391, allocations: 0.7794 MB / 0.5823 GB, free: 29.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.875e-05/0.3392, allocations: 16.58 kB / 0.5823 GB, free: 29.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.3407, allocations: 0.8952 MB / 0.5831 GB, free: 28.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.515e-06/0.3407, allocations: 4.562 kB / 0.5831 GB, free: 28.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02469/0.3654, allocations: 6.95 MB / 0.5899 GB, free: 27.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3655, allocations: 118.8 kB / 0.59 GB, free: 27.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.3669, allocations: 1.032 MB / 0.5911 GB, free: 26.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.367, allocations: 42.64 kB / 0.5911 GB, free: 26.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.3673, allocations: 0.5035 MB / 0.5916 GB, free: 26.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.3676, allocations: 370 kB / 0.5919 GB, free: 25.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004214/0.368, allocations: 248 kB / 0.5922 GB, free: 25.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.3681, allocations: 363.4 kB / 0.5925 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.3696, allocations: 0.7626 MB / 0.5933 GB, free: 25.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.3713, allocations: 0.9071 MB / 0.5942 GB, free: 24.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01965/0.3909, allocations: 5.446 MB / 0.5995 GB, free: 23.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.391, allocations: 1.219 kB / 0.5995 GB, free: 23.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01372/0.4047, allocations: 4.51 MB / 0.6039 GB, free: 21.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.4047, allocations: 59.47 kB / 0.6039 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4048, allocations: 2.156 kB / 0.6039 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006498/0.4113, allocations: 1.86 MB / 0.6058 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4124, allocations: 249.7 kB / 0.606 GB, free: 21.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.4317, allocations: 9.477 MB / 0.6152 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.4334, allocations: 198.8 kB / 0.6154 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/0.4335, allocations: 47.98 kB / 0.6155 GB, free: 14.77 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 2 * 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 {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004482/0.434, allocations: 295.8 kB / 0.6158 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.4342, allocations: 126.4 kB / 0.6159 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.4461, allocations: 4.186 MB / 0.62 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4461, allocations: 11.94 kB / 0.62 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4461, allocations: 4 kB / 0.62 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4461, allocations: 7.922 kB / 0.62 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.4591, allocations: 5.974 MB / 0.6258 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.4591, allocations: 4.031 kB / 0.6258 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.4597, allocations: 104.7 kB / 0.6259 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005336/0.465, allocations: 1.823 MB / 0.6277 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.917e-05/0.4651, allocations: 27.98 kB / 0.6277 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/0.485, allocations: 10.32 MB / 0.6378 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.485, allocations: 3.938 kB / 0.6378 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/0.4998, allocations: 5.13 MB / 0.6428 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.5002, allocations: 220.5 kB / 0.643 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.5004, allocations: 27.94 kB / 0.6431 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.5016, allocations: 113.4 kB / 0.6432 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000566/0.5022, allocations: 208.7 kB / 0.6434 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/0.5023, allocations: 28 kB / 0.6434 GB, free: 1.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009672/0.5032, allocations: 0.7032 MB / 0.6441 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5033, allocations: 4 kB / 0.6441 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001255/0.5045, allocations: 479.5 kB / 0.6446 GB, free: 476 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.5048, allocations: 143.7 kB / 0.6447 GB, free: 324 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007071/0.5118, allocations: 2.717 MB / 0.6473 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5119, allocations: 0 / 0.6473 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004743/0.5166, allocations: 1.797 MB / 0.6491 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.5174, allocations: 119.4 kB / 0.6492 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/0.5213, allocations: 2.412 MB / 0.6516 GB, free: 9.227 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.5219, allocations: 1.124 MB / 0.6527 GB, free: 8.074 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.5222, allocations: 75.42 kB / 0.6527 GB, free: 8 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5222, allocations: 0 / 0.6527 GB, free: 8 MB / 462.1 MB Notification: Performance of Templates: time 0.02544/0.5477, allocations: 24.11 MB / 0.6763 GB, free: 32 kB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)