Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009035/0.0009034, allocations: 175.7 kB / 15.78 MB, free: 6.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 239.8 MB, free: 1.738 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009328, allocations: 100.1 kB / 290.9 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5009/0.5009, allocations: 78.61 MB / 420.7 MB, free: 44.3 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.000413, allocations: 15.98 kB / 0.4888 GB, free: 2.914 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4071, allocations: 69.34 MB / 0.5565 GB, free: 38.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006262/0.4134, allocations: 6.078 MB / 0.5624 GB, free: 37.39 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004593/0.418, allocations: 1.952 MB / 0.5644 GB, free: 36 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.4196, allocations: 13.12 kB / 0.5644 GB, free: 36 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008967/0.4205, allocations: 175.5 kB / 0.5645 GB, free: 35.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.423, allocations: 0.6431 MB / 0.5652 GB, free: 35.49 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.4246, allocations: 0.5528 MB / 0.5657 GB, free: 35.21 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002157/0.4267, allocations: 1.459 MB / 0.5671 GB, free: 34.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.4273, allocations: 273.2 kB / 0.5674 GB, free: 34.36 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.4285, allocations: 0.5693 MB / 0.5679 GB, free: 34.11 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000889/0.4294, allocations: 0.7193 MB / 0.5686 GB, free: 33.8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.4296, allocations: 58.75 kB / 0.5687 GB, free: 33.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.4301, allocations: 182.5 kB / 0.5689 GB, free: 33.76 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.4303, allocations: 247.7 kB / 0.5691 GB, free: 33.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.4306, allocations: 230.3 kB / 0.5693 GB, free: 33.47 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.4317, allocations: 1.253 MB / 0.5706 GB, free: 33.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4317, allocations: 0 / 0.5706 GB, free: 33.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4317, allocations: 0 / 0.5706 GB, free: 33.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.4318, allocations: 3.938 kB / 0.5706 GB, free: 33.1 MB / 426.7 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.00835/0.4401, allocations: 2.594 MB / 0.5731 GB, free: 31.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4402, allocations: 10.31 kB / 0.5731 GB, free: 31.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.4451, allocations: 0.8003 MB / 0.5739 GB, free: 31.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.447, allocations: 0.8448 MB / 0.5747 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.4473, allocations: 260.7 kB / 0.575 GB, free: 31.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.4474, allocations: 91.97 kB / 0.575 GB, free: 30.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.4501, allocations: 1.231 MB / 0.5762 GB, free: 30.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.4501, allocations: 3 kB / 0.5763 GB, free: 30.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.4503, allocations: 29.84 kB / 0.5763 GB, free: 30.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.4503, allocations: 24.2 kB / 0.5763 GB, free: 30.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.4527, allocations: 1.139 MB / 0.5774 GB, free: 30.14 MB / 426.7 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.006908/0.4596, allocations: 3.747 MB / 0.5811 GB, free: 28.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.4621, allocations: 1.62 MB / 0.5827 GB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.4637, allocations: 0.8438 MB / 0.5835 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.4639, allocations: 21.06 kB / 0.5835 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.4657, allocations: 0.9532 MB / 0.5844 GB, free: 26.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 3.196e-06/0.4657, allocations: 0 / 0.5844 GB, free: 26.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.02993/0.4956, allocations: 8.483 MB / 0.5927 GB, free: 24.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.4957, allocations: 119.3 kB / 0.5928 GB, free: 24.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.4977, allocations: 1.025 MB / 0.5938 GB, free: 24.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003478/0.498, allocations: 45.86 kB / 0.5939 GB, free: 24.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.4985, allocations: 0.5017 MB / 0.5944 GB, free: 23.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/0.499, allocations: 370.2 kB / 0.5947 GB, free: 23.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.4991, allocations: 29.5 kB / 0.5947 GB, free: 23.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4992, allocations: 353.4 kB / 0.5951 GB, free: 23.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/0.5013, allocations: 0.8299 MB / 0.5959 GB, free: 22.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.5032, allocations: 0.9774 MB / 0.5968 GB, free: 22.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.5052, allocations: 0.9476 MB / 0.5978 GB, free: 21.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5052, allocations: 0 / 0.5978 GB, free: 21.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01799/0.5232, allocations: 5.383 MB / 0.603 GB, free: 20.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/0.5233, allocations: 64.02 kB / 0.6031 GB, free: 20.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.5233, allocations: 3.406 kB / 0.6031 GB, free: 20.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008593/0.5319, allocations: 2.224 MB / 0.6053 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.5335, allocations: 249.1 kB / 0.6055 GB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02396/0.5575, allocations: 9.925 MB / 0.6152 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.5598, allocations: 234.7 kB / 0.6154 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.56, allocations: 51.97 kB / 0.6155 GB, free: 13.45 MB / 426.7 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 aVRI.firstOrder2.y:VARIABLE(flow=false start = aVRI.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006534/0.5607, allocations: 279.7 kB / 0.6157 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.5609, allocations: 134.3 kB / 0.6159 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/0.5751, allocations: 5.094 MB / 0.6208 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.5752, allocations: 12 kB / 0.6209 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5752, allocations: 0 / 0.6209 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.127e-05/0.5753, allocations: 3.984 kB / 0.6209 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.591, allocations: 6.871 MB / 0.6276 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.591, allocations: 0 / 0.6276 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.5918, allocations: 103.9 kB / 0.6277 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006419/0.5983, allocations: 2.152 MB / 0.6298 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002254/0.5985, allocations: 19.98 kB / 0.6298 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/0.6198, allocations: 10.28 MB / 0.6398 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6199, allocations: 0 / 0.6398 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/0.6369, allocations: 6.095 MB / 0.6458 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/0.6375, allocations: 231.2 kB / 0.646 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.6377, allocations: 19.98 kB / 0.646 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.639, allocations: 147.9 kB / 0.6462 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006416/0.6396, allocations: 216.6 kB / 0.6464 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-05/0.6397, allocations: 24 kB / 0.6464 GB, free: 13.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001049/0.6408, allocations: 0.6915 MB / 0.6471 GB, free: 12.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.575e-06/0.6408, allocations: 0 / 0.6471 GB, free: 12.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001594/0.6424, allocations: 491.5 kB / 0.6475 GB, free: 12.07 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002975/0.6427, allocations: 139 kB / 0.6477 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007556/0.6503, allocations: 2.93 MB / 0.6505 GB, free: 8.969 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.6503, allocations: 0 / 0.6505 GB, free: 8.969 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005399/0.6557, allocations: 1.984 MB / 0.6525 GB, free: 6.941 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.657, allocations: 112.9 kB / 0.6526 GB, free: 6.828 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.6617, allocations: 2.813 MB / 0.6553 GB, free: 3.992 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/0.6624, allocations: 1.132 MB / 0.6564 GB, free: 2.828 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.6628, allocations: 71.42 kB / 0.6565 GB, free: 2.762 MB / 458.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6628, allocations: 4 kB / 0.6565 GB, free: 2.758 MB / 458.7 MB Notification: Performance of Templates: time 0.03054/0.6934, allocations: 24.05 MB / 0.68 GB, free: 10.7 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)