Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_release_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_release_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/Complex 4.0.0+maint.om/package.mo): time 0.00874/0.00874, allocations: 167.8 kB / 15.13 MB, free: 6.023 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.284/1.284, allocations: 223.3 MB / 239.1 MB, free: 1.711 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.0007579/0.0007578, allocations: 99.89 kB / 290.3 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4648/0.4648, allocations: 78.61 MB / 420 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 16 kB / 500 MB, free: 2.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3435, allocations: 69.33 MB / 0.556 GB, free: 38.55 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005682/0.3492, allocations: 6.422 MB / 0.5623 GB, free: 37.15 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.3527, allocations: 2.053 MB / 0.5643 GB, free: 35.69 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.3533, allocations: 19.16 kB / 0.5643 GB, free: 35.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.3539, allocations: 183 kB / 0.5645 GB, free: 35.61 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.3555, allocations: 0.6428 MB / 0.5651 GB, free: 35.18 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.3569, allocations: 0.6166 MB / 0.5657 GB, free: 34.87 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.3586, allocations: 1.537 MB / 0.5672 GB, free: 34.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004794/0.3591, allocations: 340.5 kB / 0.5675 GB, free: 33.92 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007792/0.3599, allocations: 0.5957 MB / 0.5681 GB, free: 33.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007636/0.3606, allocations: 0.7238 MB / 0.5688 GB, free: 33.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.3608, allocations: 62.38 kB / 0.5689 GB, free: 33.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.3612, allocations: 188.8 kB / 0.569 GB, free: 33.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.3614, allocations: 258.9 kB / 0.5693 GB, free: 33.15 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.3616, allocations: 244 kB / 0.5695 GB, free: 33 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.3625, allocations: 1.336 MB / 0.5708 GB, free: 32.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3625, allocations: 0 / 0.5708 GB, free: 32.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3625, allocations: 0 / 0.5708 GB, free: 32.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.3625, allocations: 0 / 0.5708 GB, free: 32.6 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.007747/0.3703, allocations: 2.66 MB / 0.5734 GB, free: 31.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3703, allocations: 12.75 kB / 0.5734 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/0.3705, allocations: 144.7 kB / 0.5736 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0048/0.3753, allocations: 0.8014 MB / 0.5744 GB, free: 31.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.3768, allocations: 0.879 MB / 0.5752 GB, free: 30.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003128/0.3771, allocations: 347.4 kB / 0.5755 GB, free: 30.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.3773, allocations: 90.92 kB / 0.5756 GB, free: 30.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.3798, allocations: 1.36 MB / 0.577 GB, free: 29.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3799, allocations: 0 / 0.577 GB, free: 29.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.38, allocations: 40.56 kB / 0.577 GB, free: 29.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.38, allocations: 28.52 kB / 0.577 GB, free: 29.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.3825, allocations: 1.28 MB / 0.5783 GB, free: 29.34 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.006208/0.3887, allocations: 4.251 MB / 0.5824 GB, free: 26.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.3918, allocations: 1.879 MB / 0.5843 GB, free: 25.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.3935, allocations: 0.934 MB / 0.5852 GB, free: 25.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-05/0.3936, allocations: 19.42 kB / 0.5852 GB, free: 25.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/0.3955, allocations: 1.041 MB / 0.5862 GB, free: 25.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 4.138e-06/0.3955, allocations: 10.56 kB / 0.5862 GB, free: 25.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.03536/0.4308, allocations: 9.416 MB / 0.5954 GB, free: 23.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.431, allocations: 119.7 kB / 0.5955 GB, free: 23.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.4328, allocations: 1.029 MB / 0.5965 GB, free: 22.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.4331, allocations: 46.67 kB / 0.5966 GB, free: 22.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.4335, allocations: 0.5258 MB / 0.5971 GB, free: 22.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.4339, allocations: 394.7 kB / 0.5975 GB, free: 22.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.434, allocations: 25.03 kB / 0.5975 GB, free: 22.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4341, allocations: 361.6 kB / 0.5978 GB, free: 21.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.436, allocations: 0.8635 MB / 0.5987 GB, free: 21.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.438, allocations: 1.016 MB / 0.5997 GB, free: 21.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.4401, allocations: 0.9669 MB / 0.6006 GB, free: 20.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.4401, allocations: 1.312 kB / 0.6006 GB, free: 20.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0174/0.4575, allocations: 5.406 MB / 0.6059 GB, free: 19.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/0.4576, allocations: 64.88 kB / 0.606 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.4577, allocations: 2.562 kB / 0.606 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008095/0.4658, allocations: 2.168 MB / 0.6081 GB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.4676, allocations: 278.4 kB / 0.6083 GB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/0.4894, allocations: 9.714 MB / 0.6178 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.4917, allocations: 258.8 kB / 0.6181 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/0.4921, allocations: 47.98 kB / 0.6181 GB, free: 9.98 MB / 426.7 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.001036/0.4932, allocations: 302.4 kB / 0.6184 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005614/0.4937, allocations: 134.4 kB / 0.6185 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/0.5096, allocations: 5.326 MB / 0.6237 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/0.5097, allocations: 16 kB / 0.6238 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5097, allocations: 3.953 kB / 0.6238 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-05/0.5097, allocations: 3.984 kB / 0.6238 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/0.5305, allocations: 7.196 MB / 0.6308 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.5306, allocations: 7.922 kB / 0.6308 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000905/0.5315, allocations: 123.9 kB / 0.6309 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007422/0.539, allocations: 2.223 MB / 0.6331 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/0.5393, allocations: 20 kB / 0.6331 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02498/0.5643, allocations: 10.64 MB / 0.6435 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5643, allocations: 0 / 0.6435 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/0.5833, allocations: 6.423 MB / 0.6498 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.5839, allocations: 223.2 kB / 0.65 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004511/0.5844, allocations: 23.98 kB / 0.65 GB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.5861, allocations: 183.8 kB / 0.6502 GB, free: 8.621 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007801/0.5869, allocations: 232.6 kB / 0.6504 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.587, allocations: 32.08 kB / 0.6504 GB, free: 8.363 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001236/0.5883, allocations: 0.6966 MB / 0.6511 GB, free: 7.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5883, allocations: 0 / 0.6511 GB, free: 7.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001863/0.5902, allocations: 491.4 kB / 0.6516 GB, free: 7.18 MB / 458.7 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.01927/0.6094, allocations: 6.991 MB / 0.6584 GB, free: 144 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008185/0.6177, allocations: 3.026 MB / 0.6614 GB, free: 13.08 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.6177, allocations: 3.938 kB / 0.6614 GB, free: 13.08 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005777/0.6235, allocations: 2.068 MB / 0.6634 GB, free: 10.97 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.625, allocations: 120.6 kB / 0.6635 GB, free: 10.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03154/0.6565, allocations: 12.9 MB / 0.6761 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007777/0.6573, allocations: 1.152 MB / 0.6772 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006041/0.658, allocations: 120.3 kB / 0.6773 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007487/0.6587, allocations: 491.3 kB / 0.6778 GB, free: 11.81 MB / 490.7 MB Notification: Performance of SimCode: time 2.424e-06/0.6587, allocations: 0 / 0.6778 GB, free: 11.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05765/0.7164, allocations: 34.89 MB / 0.7119 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.7166, allocations: 223.5 kB / 0.7121 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/3.858, allocations: 6.609 kB / 0.7121 GB, free: 8.898 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)