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.001034/0.001034, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.511/1.511, allocations: 223.3 MB / 239 MB, free: 5.609 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.00144/0.00144, allocations: 184.5 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.559/0.559, allocations: 78.56 MB / 419.9 MB, free: 4.367 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004568, allocations: 12 kB / 499.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1873, allocations: 69.36 MB / 0.5559 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.347/0.5344, allocations: 6.076 MB / 0.5618 GB, free: 37.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004425/0.5389, allocations: 1.949 MB / 0.5637 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005386/0.5394, allocations: 15.91 kB / 0.5638 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.5401, allocations: 174.7 kB / 0.5639 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.5417, allocations: 0.628 MB / 0.5645 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.5429, allocations: 0.5517 MB / 0.5651 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.5444, allocations: 1.461 MB / 0.5665 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.5448, allocations: 277.9 kB / 0.5668 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005705/0.5454, allocations: 0.566 MB / 0.5673 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000957/0.5464, allocations: 0.7074 MB / 0.568 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.5465, allocations: 60.84 kB / 0.5681 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.547, allocations: 188.2 kB / 0.5682 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.5474, allocations: 244.1 kB / 0.5685 GB, free: 36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.5476, allocations: 232 kB / 0.5687 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.5488, allocations: 1.254 MB / 0.5699 GB, free: 35.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5488, allocations: 2.062 kB / 0.5699 GB, free: 35.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5488, allocations: 0 / 0.5699 GB, free: 35.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.5488, allocations: 0 / 0.5699 GB, free: 35.71 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.007997/0.5568, allocations: 2.594 MB / 0.5725 GB, free: 34.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.496e-05/0.5569, allocations: 11.41 kB / 0.5725 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002482/0.5572, allocations: 134 kB / 0.5726 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/0.5618, allocations: 0.7984 MB / 0.5734 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.5635, allocations: 0.8372 MB / 0.5742 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.5638, allocations: 266 kB / 0.5745 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.5641, allocations: 90.67 kB / 0.5745 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.5669, allocations: 1.239 MB / 0.5757 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5669, allocations: 0 / 0.5757 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.567, allocations: 36.66 kB / 0.5758 GB, free: 33.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.567, allocations: 27.08 kB / 0.5758 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.5694, allocations: 1.135 MB / 0.5769 GB, free: 33.3 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.005679/0.5751, allocations: 3.74 MB / 0.5806 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.5773, allocations: 1.613 MB / 0.5821 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.5787, allocations: 0.8505 MB / 0.583 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.5788, allocations: 16.08 kB / 0.583 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.5805, allocations: 0.9548 MB / 0.5839 GB, free: 29.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.006e-06/0.5805, allocations: 0 / 0.5839 GB, free: 29.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02738/0.6079, allocations: 8.481 MB / 0.5922 GB, free: 27.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.608, allocations: 123.5 kB / 0.5923 GB, free: 27.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.6103, allocations: 1.02 MB / 0.5933 GB, free: 27.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.6105, allocations: 47.08 kB / 0.5934 GB, free: 27.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.6109, allocations: 0.4993 MB / 0.5939 GB, free: 26.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.6113, allocations: 373.6 kB / 0.5942 GB, free: 26.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6114, allocations: 27.53 kB / 0.5942 GB, free: 26.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6115, allocations: 360.1 kB / 0.5946 GB, free: 26.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.6134, allocations: 0.8323 MB / 0.5954 GB, free: 26.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.6156, allocations: 0.969 MB / 0.5963 GB, free: 25.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.6176, allocations: 0.9352 MB / 0.5972 GB, free: 25.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.6176, allocations: 1.25 kB / 0.5973 GB, free: 25.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01613/0.6338, allocations: 5.39 MB / 0.6025 GB, free: 23.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.505e-05/0.6339, allocations: 61.89 kB / 0.6026 GB, free: 23.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6339, allocations: 2.219 kB / 0.6026 GB, free: 23.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007683/0.6416, allocations: 2.225 MB / 0.6047 GB, free: 23.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.643, allocations: 253.1 kB / 0.605 GB, free: 23.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02411/0.6671, allocations: 9.919 MB / 0.6147 GB, free: 17.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.6692, allocations: 238.8 kB / 0.6149 GB, free: 17.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/0.6695, allocations: 47.98 kB / 0.615 GB, free: 17.3 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.0008734/0.6704, allocations: 287.5 kB / 0.6152 GB, free: 17.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.6708, allocations: 130.4 kB / 0.6153 GB, free: 16.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.6834, allocations: 5.093 MB / 0.6203 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.6834, allocations: 12 kB / 0.6203 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.6834, allocations: 0 / 0.6203 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.6835, allocations: 3.984 kB / 0.6203 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.6977, allocations: 6.873 MB / 0.6271 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.6978, allocations: 0.8125 kB / 0.6271 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.6984, allocations: 111.9 kB / 0.6272 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00547/0.7038, allocations: 2.132 MB / 0.6292 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.704, allocations: 23.98 kB / 0.6293 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/0.725, allocations: 10.28 MB / 0.6393 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.725, allocations: 4 kB / 0.6393 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/0.741, allocations: 6.099 MB / 0.6453 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/0.7416, allocations: 223.2 kB / 0.6455 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/0.742, allocations: 25.73 kB / 0.6455 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.7434, allocations: 147.9 kB / 0.6456 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006678/0.744, allocations: 217.5 kB / 0.6459 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.7442, allocations: 28 kB / 0.6459 GB, free: 1.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001369/0.7456, allocations: 0.6954 MB / 0.6466 GB, free: 420 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7456, allocations: 0 / 0.6466 GB, free: 420 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002024/0.7476, allocations: 483.6 kB / 0.647 GB, free: 15.93 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.01606/0.7637, allocations: 6.688 MB / 0.6535 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007825/0.7715, allocations: 2.936 MB / 0.6564 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.7715, allocations: 0 / 0.6564 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004827/0.7764, allocations: 1.967 MB / 0.6583 GB, free: 4.234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.7778, allocations: 123 kB / 0.6585 GB, free: 4.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02902/0.8068, allocations: 12.5 MB / 0.6707 GB, free: 7.332 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009904/0.8078, allocations: 1.128 MB / 0.6718 GB, free: 6.176 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005392/0.8084, allocations: 107.7 kB / 0.6719 GB, free: 6.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007539/0.8091, allocations: 475.2 kB / 0.6723 GB, free: 5.605 MB / 478.1 MB Notification: Performance of SimCode: time 1.092e-06/0.8092, allocations: 4 kB / 0.6723 GB, free: 5.602 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06669/0.8758, allocations: 33.48 MB / 0.705 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.8761, allocations: 208.6 kB / 0.7052 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.609, allocations: 0 / 0.7052 GB, free: 4.238 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: