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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.315/1.315, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.001186/0.001187, allocations: 196.5 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4362/0.4362, allocations: 78.54 MB / 419.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006223/0.0006224, allocations: 12 kB / 499.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.144, allocations: 69.36 MB / 0.5558 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2449/0.3889, allocations: 5.79 MB / 0.5614 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.3927, allocations: 1.995 MB / 0.5634 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009075/0.3936, allocations: 13.06 kB / 0.5634 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007096/0.3944, allocations: 173.4 kB / 0.5636 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.3964, allocations: 0.6827 MB / 0.5642 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3977, allocations: 0.5508 MB / 0.5648 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.3995, allocations: 1.013 MB / 0.5657 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/0.3999, allocations: 277.7 kB / 0.566 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.401, allocations: 0.5764 MB / 0.5666 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/0.4019, allocations: 0.6878 MB / 0.5672 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.4021, allocations: 59.47 kB / 0.5673 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.4026, allocations: 175.7 kB / 0.5675 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.4028, allocations: 240.1 kB / 0.5677 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.403, allocations: 235.1 kB / 0.5679 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.4042, allocations: 1.202 MB / 0.5691 GB, free: 36.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4042, allocations: 0.875 kB / 0.5691 GB, free: 36.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4042, allocations: 0 / 0.5691 GB, free: 36.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.416e-05/0.4042, allocations: 2.5 kB / 0.5691 GB, free: 36.23 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.008406/0.4126, allocations: 2.601 MB / 0.5716 GB, free: 35.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4127, allocations: 11.75 kB / 0.5717 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003796/0.4131, allocations: 129 kB / 0.5718 GB, free: 35.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/0.418, allocations: 0.7979 MB / 0.5726 GB, free: 35.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.4198, allocations: 0.8393 MB / 0.5734 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/0.42, allocations: 264.7 kB / 0.5736 GB, free: 34.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.4202, allocations: 89.3 kB / 0.5737 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.4224, allocations: 1.226 MB / 0.5749 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.4225, allocations: 0 / 0.5749 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.4226, allocations: 34.3 kB / 0.5749 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.4226, allocations: 28.2 kB / 0.575 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.4247, allocations: 1.142 MB / 0.5761 GB, free: 33.68 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.006259/0.431, allocations: 3.846 MB / 0.5798 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.4332, allocations: 1.621 MB / 0.5814 GB, free: 30.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.4333, allocations: 15.47 kB / 0.5814 GB, free: 30.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/0.435, allocations: 0.9523 MB / 0.5824 GB, free: 30.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.256e-06/0.435, allocations: 3.938 kB / 0.5824 GB, free: 30.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02814/0.4631, allocations: 8.476 MB / 0.5906 GB, free: 28.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.4632, allocations: 118.2 kB / 0.5908 GB, free: 28.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.465, allocations: 1.025 MB / 0.5918 GB, free: 27.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003218/0.4654, allocations: 50.17 kB / 0.5918 GB, free: 27.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.4658, allocations: 0.5003 MB / 0.5923 GB, free: 27.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000537/0.4663, allocations: 373.9 kB / 0.5927 GB, free: 27.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.4664, allocations: 26.59 kB / 0.5927 GB, free: 27.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4666, allocations: 358.6 kB / 0.593 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.4687, allocations: 0.8251 MB / 0.5938 GB, free: 26.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.471, allocations: 0.9677 MB / 0.5948 GB, free: 26.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.473, allocations: 0.9398 MB / 0.5957 GB, free: 25.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.473, allocations: 0 / 0.5957 GB, free: 25.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01593/0.489, allocations: 5.388 MB / 0.601 GB, free: 24.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/0.4891, allocations: 60.41 kB / 0.601 GB, free: 24.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.4891, allocations: 6.922 kB / 0.601 GB, free: 24.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008213/0.4973, allocations: 2.226 MB / 0.6032 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.4989, allocations: 252.8 kB / 0.6034 GB, free: 24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02457/0.5235, allocations: 10.38 MB / 0.6136 GB, free: 18.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.5256, allocations: 229.7 kB / 0.6138 GB, free: 18.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.5259, allocations: 53.25 kB / 0.6138 GB, free: 18.29 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 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.0006302/0.5265, allocations: 289.7 kB / 0.6141 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.5268, allocations: 126.4 kB / 0.6142 GB, free: 17.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.5402, allocations: 5.096 MB / 0.6192 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.5403, allocations: 12 kB / 0.6192 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5403, allocations: 0.875 kB / 0.6192 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.592e-05/0.5404, allocations: 7.969 kB / 0.6192 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.5555, allocations: 6.921 MB / 0.626 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.5556, allocations: 3.984 kB / 0.626 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.5563, allocations: 104.9 kB / 0.6261 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00599/0.5623, allocations: 2.148 MB / 0.6282 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002598/0.5626, allocations: 19.98 kB / 0.6282 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/0.584, allocations: 10.76 MB / 0.6387 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5841, allocations: 4 kB / 0.6387 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.6005, allocations: 6.106 MB / 0.6447 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/0.6012, allocations: 231.9 kB / 0.6449 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/0.6015, allocations: 19.94 kB / 0.6449 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.6028, allocations: 148.8 kB / 0.6451 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006704/0.6035, allocations: 212.6 kB / 0.6453 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.662e-05/0.6036, allocations: 29.59 kB / 0.6453 GB, free: 1.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001074/0.6047, allocations: 0.6915 MB / 0.646 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6047, allocations: 0 / 0.646 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001821/0.6065, allocations: 483.5 kB / 0.6464 GB, free: 428 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 (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.01682/0.6234, allocations: 6.77 MB / 0.653 GB, free: 9.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007839/0.6313, allocations: 2.936 MB / 0.6559 GB, free: 6.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.6313, allocations: 3.938 kB / 0.6559 GB, free: 6.625 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00535/0.6367, allocations: 1.972 MB / 0.6578 GB, free: 4.617 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009834/0.6377, allocations: 96 kB / 0.6579 GB, free: 4.523 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006544/0.6442, allocations: 4.675 MB / 0.6625 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/0.6452, allocations: 1.158 MB / 0.6636 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005615/0.6458, allocations: 105.9 kB / 0.6637 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006432/0.6464, allocations: 471.3 kB / 0.6642 GB, free: 14.05 MB / 478.1 MB Notification: Performance of SimCode: time 1.513e-06/0.6464, allocations: 0 / 0.6642 GB, free: 14.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05525/0.7017, allocations: 32.69 MB / 0.6961 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.7019, allocations: 196.4 kB / 0.6963 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.3, allocations: 3.5 kB / 0.6963 GB, free: 13.48 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) Environment - environmentSimulation: