Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.08473/0.08474, allocations: 12.2 MB / 27.15 MB, free: 0.9648 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009175/0.0009175, allocations: 98.25 kB / 30.66 MB, free: 4.863 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 239.5 MB, free: 10.7 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.001135/0.001135, allocations: 177.1 kB / 290.6 MB, free: 8.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4131/0.4131, allocations: 78.49 MB / 420.1 MB, free: 6.59 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008887/0.0008888, allocations: 33.33 kB / 0.4895 GB, free: 38.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1199, allocations: 69.24 MB / 0.5571 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005655/0.1256, allocations: 5.845 MB / 0.5628 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.129, allocations: 1.968 MB / 0.5647 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004049/0.1294, allocations: 12 kB / 0.5648 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.1299, allocations: 174.6 kB / 0.5649 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.1312, allocations: 0.679 MB / 0.5656 GB, free: 48 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1323, allocations: 0.5533 MB / 0.5661 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.1333, allocations: 1.018 MB / 0.5671 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.1337, allocations: 274.3 kB / 0.5674 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005795/0.1343, allocations: 0.5758 MB / 0.5679 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006996/0.135, allocations: 0.6846 MB / 0.5686 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.1351, allocations: 67.92 kB / 0.5687 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.1355, allocations: 167.9 kB / 0.5688 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.1357, allocations: 246.9 kB / 0.5691 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.1359, allocations: 237 kB / 0.5693 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.137, allocations: 1.208 MB / 0.5705 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.137, allocations: 4 kB / 0.5705 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.137, allocations: 3.984 kB / 0.5705 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.137, allocations: 0 / 0.5705 GB, free: 11 MB / 398.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.008/0.145, allocations: 2.591 MB / 0.573 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1451, allocations: 19.98 kB / 0.573 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.1453, allocations: 126.9 kB / 0.5732 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004806/0.1501, allocations: 0.7943 MB / 0.5739 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.1515, allocations: 0.8479 MB / 0.5748 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.1518, allocations: 268.1 kB / 0.575 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.1519, allocations: 84 kB / 0.5751 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.1542, allocations: 1.223 MB / 0.5763 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1542, allocations: 0 / 0.5763 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.1543, allocations: 36 kB / 0.5763 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1543, allocations: 20 kB / 0.5763 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.1566, allocations: 1.14 MB / 0.5775 GB, free: 3.68 MB / 398.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.006155/0.1628, allocations: 3.847 MB / 0.5812 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.1652, allocations: 1.61 MB / 0.5828 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.751e-05/0.1653, allocations: 20.97 kB / 0.5828 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001724/0.1671, allocations: 0.9504 MB / 0.5837 GB, free: 12.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 2.776e-06/0.1671, allocations: 0 / 0.5837 GB, free: 12.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.02831/0.1954, allocations: 8.478 MB / 0.592 GB, free: 4.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.1955, allocations: 119.8 kB / 0.5921 GB, free: 4.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.197, allocations: 1.019 MB / 0.5931 GB, free: 3.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.1972, allocations: 49.73 kB / 0.5932 GB, free: 3.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.1976, allocations: 0.5046 MB / 0.5937 GB, free: 2.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/0.1979, allocations: 374.7 kB / 0.594 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/0.198, allocations: 28 kB / 0.594 GB, free: 2.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1982, allocations: 357.9 kB / 0.5944 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.1998, allocations: 0.8238 MB / 0.5952 GB, free: 1.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.2015, allocations: 0.9701 MB / 0.5961 GB, free: 92 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.2033, allocations: 0.9404 MB / 0.5971 GB, free: 15.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2033, allocations: 0 / 0.5971 GB, free: 15.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01519/0.2185, allocations: 5.386 MB / 0.6023 GB, free: 9.719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.663e-05/0.2187, allocations: 59.41 kB / 0.6024 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.2187, allocations: 0 / 0.6024 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007591/0.2263, allocations: 2.224 MB / 0.6045 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.2278, allocations: 251.7 kB / 0.6048 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/0.2515, allocations: 10.4 MB / 0.6149 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.2534, allocations: 234.8 kB / 0.6152 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.2536, allocations: 51.94 kB / 0.6152 GB, free: 12.37 MB / 446.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.0005858/0.2541, allocations: 291.2 kB / 0.6155 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.2544, allocations: 122.5 kB / 0.6156 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.269, allocations: 5.099 MB / 0.6206 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.2691, allocations: 15.94 kB / 0.6206 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2691, allocations: 3.984 kB / 0.6206 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.2691, allocations: 3.984 kB / 0.6206 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.2857, allocations: 6.926 MB / 0.6274 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.2857, allocations: 0 / 0.6274 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/0.2865, allocations: 107.8 kB / 0.6275 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006749/0.2932, allocations: 2.14 MB / 0.6296 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/0.2935, allocations: 27.94 kB / 0.6296 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02296/0.3164, allocations: 10.76 MB / 0.6401 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3165, allocations: 3.984 kB / 0.6401 GB, free: 2.398 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/0.3335, allocations: 6.106 MB / 0.6461 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.334, allocations: 219.3 kB / 0.6463 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.3342, allocations: 31.95 kB / 0.6463 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.3355, allocations: 151.9 kB / 0.6464 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006408/0.3361, allocations: 212.7 kB / 0.6467 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/0.3362, allocations: 28 kB / 0.6467 GB, free: 11.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001035/0.3373, allocations: 0.6954 MB / 0.6474 GB, free: 10.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3373, allocations: 0 / 0.6474 GB, free: 10.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001502/0.3388, allocations: 487.4 kB / 0.6478 GB, free: 10.42 MB / 478.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.01699/0.3558, allocations: 6.757 MB / 0.6544 GB, free: 3.609 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007583/0.3634, allocations: 2.934 MB / 0.6573 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3635, allocations: 0 / 0.6573 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2236/0.587, allocations: 1.964 MB / 0.6592 GB, free: 95.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008625/0.5879, allocations: 94.31 kB / 0.6593 GB, free: 95.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.5929, allocations: 4.691 MB / 0.6639 GB, free: 92.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.5935, allocations: 1.159 MB / 0.665 GB, free: 92.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003717/0.5938, allocations: 107 kB / 0.6651 GB, free: 92.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005483/0.5944, allocations: 471.2 kB / 0.6656 GB, free: 92.23 MB / 478.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5944, allocations: 0 / 0.6656 GB, free: 92.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04989/0.6443, allocations: 32.69 MB / 0.6975 GB, free: 73.85 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.6445, allocations: 206.7 kB / 0.6977 GB, free: 73.61 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.273, allocations: 0 / 0.6977 GB, free: 73.61 MB / 478.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) Environment - environmentSimulation: