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.1015/0.1015, allocations: 12.2 MB / 27.18 MB, free: 1.504 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.0008654/0.0008653, allocations: 103.5 kB / 30.68 MB, free: 4.859 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.649/1.649, allocations: 205.4 MB / 239.5 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 180.5 kB / 290.6 MB, free: 11.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5034/0.5034, allocations: 78.53 MB / 420.1 MB, free: 11.64 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.0008354/0.0008354, allocations: 28 kB / 0.4896 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4106, allocations: 69.23 MB / 0.5572 GB, free: 21.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.008064/0.4187, allocations: 6.126 MB / 0.5632 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005897/0.4247, allocations: 1.924 MB / 0.565 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.4261, allocations: 12 kB / 0.5651 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000959/0.4271, allocations: 174.7 kB / 0.5652 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.4303, allocations: 0.6239 MB / 0.5658 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.4328, allocations: 0.5597 MB / 0.5664 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002681/0.4355, allocations: 1.452 MB / 0.5678 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008847/0.4364, allocations: 274 kB / 0.5681 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.4378, allocations: 0.5755 MB / 0.5686 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.4392, allocations: 0.7116 MB / 0.5693 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004283/0.4397, allocations: 60 kB / 0.5694 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009892/0.4407, allocations: 183.9 kB / 0.5695 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004962/0.4412, allocations: 242.8 kB / 0.5698 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.4417, allocations: 233 kB / 0.57 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.4435, allocations: 1.254 MB / 0.5712 GB, free: 6.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.4435, allocations: 0 / 0.5712 GB, free: 6.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4435, allocations: 0 / 0.5712 GB, free: 6.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.779e-05/0.4436, allocations: 0 / 0.5712 GB, free: 6.574 MB / 382.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.009764/0.4534, allocations: 2.595 MB / 0.5738 GB, free: 3.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.4534, allocations: 15.98 kB / 0.5738 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004811/0.4539, allocations: 130.9 kB / 0.5739 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.4589, allocations: 0.7982 MB / 0.5747 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.4611, allocations: 0.844 MB / 0.5755 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.4614, allocations: 268.1 kB / 0.5758 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004286/0.4619, allocations: 88 kB / 0.5758 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.4646, allocations: 1.227 MB / 0.577 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.4647, allocations: 0 / 0.577 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.4648, allocations: 28 kB / 0.5771 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.4648, allocations: 20 kB / 0.5771 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.4673, allocations: 1.148 MB / 0.5782 GB, free: 15.24 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.007294/0.4747, allocations: 3.754 MB / 0.5819 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.4773, allocations: 1.61 MB / 0.5834 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.4788, allocations: 0.8441 MB / 0.5843 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.479, allocations: 20.97 kB / 0.5843 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001815/0.4808, allocations: 0.9544 MB / 0.5852 GB, free: 7.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=102): time 3.908e-06/0.4808, allocations: 0 / 0.5852 GB, free: 7.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.02642/0.5073, allocations: 8.484 MB / 0.5935 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.5074, allocations: 115.8 kB / 0.5936 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.5093, allocations: 1.023 MB / 0.5946 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.5096, allocations: 49.69 kB / 0.5947 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.5101, allocations: 0.5007 MB / 0.5952 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006046/0.5107, allocations: 374.7 kB / 0.5955 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.5109, allocations: 24 kB / 0.5955 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.5111, allocations: 357.9 kB / 0.5959 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.513, allocations: 0.8277 MB / 0.5967 GB, free: 11.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.5149, allocations: 0.974 MB / 0.5976 GB, free: 10.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.5169, allocations: 0.9365 MB / 0.5985 GB, free: 9.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.5169, allocations: 3.953 kB / 0.5986 GB, free: 9.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01441/0.5314, allocations: 5.386 MB / 0.6038 GB, free: 4.539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/0.5315, allocations: 63.34 kB / 0.6039 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.5315, allocations: 4 kB / 0.6039 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006972/0.5385, allocations: 2.216 MB / 0.606 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.5399, allocations: 251.7 kB / 0.6063 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/0.5625, allocations: 9.929 MB / 0.616 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.5645, allocations: 238.7 kB / 0.6162 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.5649, allocations: 51.98 kB / 0.6163 GB, free: 7.648 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.0009759/0.5659, allocations: 290.8 kB / 0.6165 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004506/0.5663, allocations: 126.4 kB / 0.6167 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.5801, allocations: 5.091 MB / 0.6216 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/0.5801, allocations: 12 kB / 0.6216 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5802, allocations: 3.938 kB / 0.6216 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-05/0.5802, allocations: 11.97 kB / 0.6217 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/0.5971, allocations: 6.867 MB / 0.6284 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.5972, allocations: 4 kB / 0.6284 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007377/0.598, allocations: 115.8 kB / 0.6285 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006079/0.6041, allocations: 2.145 MB / 0.6306 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.6043, allocations: 24 kB / 0.6306 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02039/0.6247, allocations: 10.26 MB / 0.6406 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.6247, allocations: 0 / 0.6406 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.6404, allocations: 6.107 MB / 0.6466 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/0.6411, allocations: 219.2 kB / 0.6468 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004837/0.6416, allocations: 27.98 kB / 0.6468 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.6431, allocations: 155.8 kB / 0.647 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008017/0.6439, allocations: 208.6 kB / 0.6472 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/0.6441, allocations: 32.05 kB / 0.6472 GB, free: 7.445 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.6456, allocations: 0.6915 MB / 0.6479 GB, free: 6.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6456, allocations: 0 / 0.6479 GB, free: 6.746 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002246/0.6478, allocations: 483.5 kB / 0.6483 GB, free: 6.273 MB / 462.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.01632/0.6642, allocations: 6.686 MB / 0.6549 GB, free: 15.54 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007524/0.6717, allocations: 2.934 MB / 0.6577 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.6718, allocations: 4.312 kB / 0.6577 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004973/0.6768, allocations: 1.969 MB / 0.6596 GB, free: 10.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.6785, allocations: 116.4 kB / 0.6598 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0297/0.7082, allocations: 12.49 MB / 0.672 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.7094, allocations: 1.139 MB / 0.6731 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007609/0.7101, allocations: 107.9 kB / 0.6732 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009034/0.7111, allocations: 467.3 kB / 0.6736 GB, free: 11.86 MB / 494.1 MB Notification: Performance of SimCode: time 2.925e-06/0.7111, allocations: 0 / 0.6736 GB, free: 11.86 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3863/1.097, allocations: 33.5 MB / 0.7063 GB, free: 108.7 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/1.098, allocations: 215.1 kB / 0.7065 GB, free: 108.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.336/4.434, allocations: 3.938 kB / 0.7065 GB, free: 108.5 MB / 494.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: