Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.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 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.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_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.0008526/0.0008528, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.358/1.358, allocations: 223.2 MB / 239 MB, free: 5.457 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.001449/0.001449, allocations: 184.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4726/0.4726, allocations: 79.48 MB / 420.8 MB, free: 3.938 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 11.98 kB / 0.4892 GB, free: 5.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3465, allocations: 69.51 MB / 0.5571 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005533/0.3521, allocations: 6.445 MB / 0.5634 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004244/0.3564, allocations: 2.058 MB / 0.5654 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.3575, allocations: 16.38 kB / 0.5654 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007255/0.3582, allocations: 181.2 kB / 0.5656 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.36, allocations: 0.6376 MB / 0.5662 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3615, allocations: 0.6121 MB / 0.5668 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.363, allocations: 1.541 MB / 0.5683 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.3634, allocations: 335.8 kB / 0.5686 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000801/0.3642, allocations: 0.5856 MB / 0.5692 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008963/0.3651, allocations: 0.7285 MB / 0.5699 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.3653, allocations: 59.94 kB / 0.57 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.3657, allocations: 182.9 kB / 0.5701 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.366, allocations: 257.4 kB / 0.5704 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.3662, allocations: 249.2 kB / 0.5706 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009404/0.3671, allocations: 1.341 MB / 0.5719 GB, free: 34.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3671, allocations: 1.75 kB / 0.5719 GB, free: 34.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3671, allocations: 0 / 0.5719 GB, free: 34.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.3672, allocations: 0 / 0.5719 GB, free: 34.58 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.007123/0.3743, allocations: 2.654 MB / 0.5745 GB, free: 33.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3743, allocations: 11.53 kB / 0.5745 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.3746, allocations: 139.8 kB / 0.5747 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00463/0.3792, allocations: 0.8116 MB / 0.5755 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.3807, allocations: 0.8772 MB / 0.5763 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.381, allocations: 344.2 kB / 0.5767 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.3811, allocations: 90.53 kB / 0.5767 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.3835, allocations: 1.357 MB / 0.5781 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.3835, allocations: 3.938 kB / 0.5781 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.3836, allocations: 36.81 kB / 0.5781 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.3837, allocations: 30.05 kB / 0.5781 GB, free: 31.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.386, allocations: 1.284 MB / 0.5794 GB, free: 31.38 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.006007/0.392, allocations: 4.292 MB / 0.5836 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.3947, allocations: 1.87 MB / 0.5854 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.3964, allocations: 0.9262 MB / 0.5863 GB, free: 27.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.3966, allocations: 26.73 kB / 0.5863 GB, free: 27.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00191/0.3985, allocations: 1.038 MB / 0.5873 GB, free: 27.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 4.649e-06/0.3985, allocations: 0 / 0.5873 GB, free: 27.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03067/0.4292, allocations: 9.262 MB / 0.5964 GB, free: 25.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.4293, allocations: 119.3 kB / 0.5965 GB, free: 25.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.4312, allocations: 1.031 MB / 0.5975 GB, free: 24.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.4314, allocations: 45.83 kB / 0.5976 GB, free: 24.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.4319, allocations: 0.5284 MB / 0.5981 GB, free: 24.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.4324, allocations: 384.2 kB / 0.5984 GB, free: 24.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.4326, allocations: 34.33 kB / 0.5985 GB, free: 24.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4327, allocations: 353.8 kB / 0.5988 GB, free: 23.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.4347, allocations: 0.8608 MB / 0.5997 GB, free: 23.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.4369, allocations: 1.017 MB / 0.6006 GB, free: 23.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.4389, allocations: 0.9663 MB / 0.6016 GB, free: 22.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.4389, allocations: 5.094 kB / 0.6016 GB, free: 22.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01492/0.4538, allocations: 5.406 MB / 0.6069 GB, free: 21.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.601e-05/0.4539, allocations: 63.75 kB / 0.6069 GB, free: 21.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.454, allocations: 4.062 kB / 0.6069 GB, free: 21.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006711/0.4607, allocations: 2.164 MB / 0.6091 GB, free: 20.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.4621, allocations: 276.8 kB / 0.6093 GB, free: 20.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.4813, allocations: 9.729 MB / 0.6188 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.4831, allocations: 246.8 kB / 0.6191 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.4833, allocations: 55.97 kB / 0.6191 GB, free: 12.95 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(flow=false start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007138/0.484, allocations: 299.3 kB / 0.6194 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.4843, allocations: 130.4 kB / 0.6195 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/0.4974, allocations: 5.326 MB / 0.6247 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.4975, allocations: 12.94 kB / 0.6247 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4975, allocations: 7.953 kB / 0.6247 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.4975, allocations: 7.969 kB / 0.6247 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.5134, allocations: 7.198 MB / 0.6318 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.5135, allocations: 0 / 0.6318 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/0.5142, allocations: 131.9 kB / 0.6319 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006297/0.5205, allocations: 2.216 MB / 0.6341 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.5207, allocations: 23.98 kB / 0.6341 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/0.5427, allocations: 10.64 MB / 0.6445 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5427, allocations: 0 / 0.6445 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.5592, allocations: 6.427 MB / 0.6508 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/0.5598, allocations: 224.1 kB / 0.651 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004039/0.5603, allocations: 20.92 kB / 0.651 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.5617, allocations: 183.8 kB / 0.6512 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000705/0.5624, allocations: 236.6 kB / 0.6514 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.5625, allocations: 33.05 kB / 0.6514 GB, free: 11.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001234/0.5638, allocations: 0.6967 MB / 0.6521 GB, free: 10.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5638, allocations: 0 / 0.6521 GB, free: 10.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001803/0.5656, allocations: 483.4 kB / 0.6526 GB, free: 10.17 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * 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 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01696/0.5826, allocations: 7.011 MB / 0.6594 GB, free: 3.117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007733/0.5903, allocations: 3.022 MB / 0.6624 GB, free: 64 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.5904, allocations: 3.938 kB / 0.6624 GB, free: 60 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005197/0.5956, allocations: 2.061 MB / 0.6644 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.597, allocations: 124.2 kB / 0.6645 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/0.6262, allocations: 12.89 MB / 0.6771 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.6273, allocations: 1.155 MB / 0.6782 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005805/0.6279, allocations: 119.7 kB / 0.6783 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007867/0.6287, allocations: 491.3 kB / 0.6788 GB, free: 14.84 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/0.6287, allocations: 2.062 kB / 0.6788 GB, free: 14.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05957/0.6883, allocations: 34.86 MB / 0.7128 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.6885, allocations: 213.4 kB / 0.713 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.368, allocations: 64 / 0.713 GB, free: 12.13 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) Environment - environmentSimulation: