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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_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/Complex 4.0.0+maint.om/package.mo): time 0.005733/0.005733, allocations: 166.9 kB / 15.13 MB, free: 6.02 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.283/1.283, allocations: 223.3 MB / 239.1 MB, free: 1.723 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.0007188/0.0007188, allocations: 90.64 kB / 290.3 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4401/0.4401, allocations: 78.62 MB / 420 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 12 kB / 500 MB, free: 2.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.359, allocations: 69.35 MB / 0.556 GB, free: 38.32 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006229/0.3653, allocations: 6.078 MB / 0.5619 GB, free: 37.28 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004397/0.3698, allocations: 1.954 MB / 0.5638 GB, free: 35.89 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.371, allocations: 15.84 kB / 0.5639 GB, free: 35.89 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007424/0.3717, allocations: 171.2 kB / 0.564 GB, free: 35.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.3737, allocations: 0.6355 MB / 0.5646 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.3752, allocations: 0.5527 MB / 0.5652 GB, free: 35.11 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.3774, allocations: 1.458 MB / 0.5666 GB, free: 34.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005471/0.378, allocations: 282.7 kB / 0.5669 GB, free: 34.25 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.3791, allocations: 0.5771 MB / 0.5674 GB, free: 34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008285/0.3799, allocations: 0.7086 MB / 0.5681 GB, free: 33.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.3801, allocations: 59.84 kB / 0.5682 GB, free: 33.69 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.3807, allocations: 188.7 kB / 0.5684 GB, free: 33.65 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.3809, allocations: 242.9 kB / 0.5686 GB, free: 33.51 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.3812, allocations: 231.1 kB / 0.5688 GB, free: 33.36 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.3823, allocations: 1.25 MB / 0.57 GB, free: 32.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3823, allocations: 0 / 0.57 GB, free: 32.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3823, allocations: 0 / 0.57 GB, free: 32.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.78e-05/0.3824, allocations: 0 / 0.57 GB, free: 32.99 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.008346/0.3907, allocations: 2.601 MB / 0.5726 GB, free: 31.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3908, allocations: 8.844 kB / 0.5726 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002904/0.3911, allocations: 133.4 kB / 0.5727 GB, free: 31.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.396, allocations: 0.7969 MB / 0.5735 GB, free: 31.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.3977, allocations: 0.8423 MB / 0.5743 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.398, allocations: 263.6 kB / 0.5746 GB, free: 30.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.3981, allocations: 87.25 kB / 0.5746 GB, free: 30.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.4006, allocations: 1.23 MB / 0.5758 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4007, allocations: 7.875 kB / 0.5759 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.4008, allocations: 38.11 kB / 0.5759 GB, free: 30.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.4008, allocations: 19.69 kB / 0.5759 GB, free: 30.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.4031, allocations: 1.141 MB / 0.577 GB, free: 29.94 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.006393/0.4095, allocations: 3.744 MB / 0.5807 GB, free: 27.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.4117, allocations: 1.615 MB / 0.5823 GB, free: 26.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.4133, allocations: 0.842 MB / 0.5831 GB, free: 26.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.4134, allocations: 21.06 kB / 0.5831 GB, free: 26.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001768/0.4152, allocations: 0.9549 MB / 0.584 GB, free: 26.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 3.847e-06/0.4152, allocations: 0 / 0.584 GB, free: 26.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.02804/0.4432, allocations: 8.482 MB / 0.5923 GB, free: 24.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.4434, allocations: 121.1 kB / 0.5924 GB, free: 24.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.4451, allocations: 1.026 MB / 0.5934 GB, free: 24.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003226/0.4454, allocations: 43.2 kB / 0.5935 GB, free: 23.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.4458, allocations: 0.4989 MB / 0.594 GB, free: 23.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/0.4462, allocations: 375.1 kB / 0.5943 GB, free: 23.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-05/0.4463, allocations: 29.5 kB / 0.5943 GB, free: 23.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.4464, allocations: 354.4 kB / 0.5947 GB, free: 22.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.4482, allocations: 0.8267 MB / 0.5955 GB, free: 22.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.4501, allocations: 0.9768 MB / 0.5964 GB, free: 22.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.4522, allocations: 0.9329 MB / 0.5974 GB, free: 21.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.4522, allocations: 4.062 kB / 0.5974 GB, free: 21.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01738/0.4696, allocations: 5.386 MB / 0.6026 GB, free: 20.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.114e-05/0.4697, allocations: 64.34 kB / 0.6027 GB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.4698, allocations: 6.094 kB / 0.6027 GB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008947/0.4787, allocations: 2.225 MB / 0.6049 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.4805, allocations: 249.3 kB / 0.6051 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/0.5043, allocations: 9.937 MB / 0.6148 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.5065, allocations: 230.8 kB / 0.615 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.5066, allocations: 47.98 kB / 0.6151 GB, free: 13.19 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.0006585/0.5073, allocations: 285.1 kB / 0.6153 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.5076, allocations: 130.4 kB / 0.6155 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.5216, allocations: 5.094 MB / 0.6204 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.5217, allocations: 8 kB / 0.6204 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5217, allocations: 8 kB / 0.6205 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/0.5218, allocations: 3.984 kB / 0.6205 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.5379, allocations: 6.871 MB / 0.6272 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.538, allocations: 4 kB / 0.6272 GB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007654/0.5388, allocations: 107.8 kB / 0.6273 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006851/0.5456, allocations: 2.14 MB / 0.6294 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002717/0.5459, allocations: 23.98 kB / 0.6294 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0227/0.5687, allocations: 10.27 MB / 0.6394 GB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5687, allocations: 3.984 kB / 0.6394 GB, free: 3.785 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/0.5865, allocations: 6.107 MB / 0.6454 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000559/0.5871, allocations: 223.2 kB / 0.6456 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.5874, allocations: 23.98 kB / 0.6456 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.5888, allocations: 147.9 kB / 0.6458 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006467/0.5894, allocations: 212.6 kB / 0.646 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.387e-05/0.5895, allocations: 32.06 kB / 0.646 GB, free: 13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00107/0.5906, allocations: 0.6915 MB / 0.6467 GB, free: 12.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5906, allocations: 4 kB / 0.6467 GB, free: 12.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001681/0.5923, allocations: 479.5 kB / 0.6471 GB, free: 11.82 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.01761/0.6099, allocations: 6.69 MB / 0.6537 GB, free: 5.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008113/0.6181, allocations: 2.942 MB / 0.6565 GB, free: 2.117 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.6181, allocations: 0 / 0.6565 GB, free: 2.117 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005615/0.6238, allocations: 1.969 MB / 0.6585 GB, free: 104 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.625, allocations: 116.5 kB / 0.6586 GB, free: 15.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/0.655, allocations: 12.51 MB / 0.6708 GB, free: 3.141 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.6557, allocations: 1.124 MB / 0.6719 GB, free: 1.988 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005475/0.6562, allocations: 103.9 kB / 0.672 GB, free: 1.883 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006163/0.6569, allocations: 471.3 kB / 0.6724 GB, free: 1.426 MB / 474.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6569, allocations: 0 / 0.6724 GB, free: 1.426 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05833/0.7152, allocations: 33.49 MB / 0.7051 GB, free: 156 kB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.7155, allocations: 211.7 kB / 0.7053 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/3.821, allocations: 0 / 0.7053 GB, free: 15.91 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)