Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_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_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.001148/0.001149, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.287/1.287, allocations: 222.9 MB / 238.8 MB, free: 4.754 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.001363/0.001363, allocations: 184.5 kB / 289.1 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4405/0.4405, allocations: 78.52 MB / 417.8 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 71.89 kB / 496.9 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1371, allocations: 68.17 MB / 0.5518 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.248/0.3851, allocations: 7.338 MB / 0.559 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.3891, allocations: 2.158 MB / 0.5611 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006954/0.3898, allocations: 20.56 kB / 0.5611 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.3905, allocations: 197.4 kB / 0.5613 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.392, allocations: 0.6892 MB / 0.5619 GB, free: 34.88 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001346/0.3934, allocations: 0.6928 MB / 0.5626 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.3948, allocations: 1.632 MB / 0.5642 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004506/0.3953, allocations: 359.5 kB / 0.5646 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006945/0.396, allocations: 0.639 MB / 0.5652 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006872/0.3967, allocations: 0.8009 MB / 0.566 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.3968, allocations: 76.47 kB / 0.566 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.3973, allocations: 204.2 kB / 0.5662 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.3975, allocations: 297.5 kB / 0.5665 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004766/0.398, allocations: 0.6602 MB / 0.5672 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.3991, allocations: 1.739 MB / 0.5689 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3991, allocations: 0 / 0.5689 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3992, allocations: 3 kB / 0.5689 GB, free: 33.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.3992, allocations: 0.5 kB / 0.5689 GB, free: 33.45 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.008389/0.4076, allocations: 2.845 MB / 0.5716 GB, free: 32.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4076, allocations: 11.66 kB / 0.5717 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.4078, allocations: 142.9 kB / 0.5718 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004784/0.4126, allocations: 0.7976 MB / 0.5726 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.414, allocations: 0.9246 MB / 0.5735 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.4144, allocations: 335.8 kB / 0.5738 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.4145, allocations: 91.81 kB / 0.5739 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.4169, allocations: 1.282 MB / 0.5751 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4169, allocations: 7.938 kB / 0.5751 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.417, allocations: 37.94 kB / 0.5752 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.417, allocations: 22.5 kB / 0.5752 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.4194, allocations: 1.204 MB / 0.5764 GB, free: 31.48 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.006178/0.4256, allocations: 4.178 MB / 0.5805 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.4285, allocations: 1.771 MB / 0.5822 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.4301, allocations: 0.8591 MB / 0.583 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.4303, allocations: 16.36 kB / 0.583 GB, free: 27.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/0.4321, allocations: 0.9625 MB / 0.584 GB, free: 27.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 2.796e-06/0.4321, allocations: 0 / 0.584 GB, free: 27.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03246/0.4646, allocations: 7.895 MB / 0.5917 GB, free: 26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.4647, allocations: 115.1 kB / 0.5918 GB, free: 25.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.4665, allocations: 1.04 MB / 0.5928 GB, free: 25.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.4667, allocations: 42.36 kB / 0.5928 GB, free: 25.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/0.4671, allocations: 0.5235 MB / 0.5934 GB, free: 25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000379/0.4675, allocations: 397.6 kB / 0.5937 GB, free: 24.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004935/0.468, allocations: 244.2 kB / 0.594 GB, free: 24.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4681, allocations: 354.7 kB / 0.5943 GB, free: 24.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.4698, allocations: 0.7838 MB / 0.5951 GB, free: 23.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.4717, allocations: 0.951 MB / 0.596 GB, free: 23.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02196/0.4936, allocations: 5.492 MB / 0.6014 GB, free: 21.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.4937, allocations: 7.156 kB / 0.6014 GB, free: 21.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01411/0.5078, allocations: 4.457 MB / 0.6057 GB, free: 20.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.5079, allocations: 63.66 kB / 0.6058 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.5079, allocations: 3.672 kB / 0.6058 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005881/0.5138, allocations: 1.734 MB / 0.6075 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.5154, allocations: 281.4 kB / 0.6078 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/0.5328, allocations: 8.331 MB / 0.6159 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.5347, allocations: 207.8 kB / 0.6161 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.5348, allocations: 47.98 kB / 0.6161 GB, free: 13.12 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 generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-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 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005968/0.5354, allocations: 303.5 kB / 0.6164 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.5356, allocations: 130.3 kB / 0.6165 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.5492, allocations: 4.405 MB / 0.6208 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.5492, allocations: 12 kB / 0.6209 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5492, allocations: 0.875 kB / 0.6209 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.5492, allocations: 3.984 kB / 0.6209 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/0.5642, allocations: 6.271 MB / 0.627 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.5643, allocations: 0 / 0.627 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/0.565, allocations: 127.8 kB / 0.6271 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006018/0.5711, allocations: 1.908 MB / 0.629 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.5713, allocations: 23.98 kB / 0.629 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02189/0.5932, allocations: 9.751 MB / 0.6385 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.5932, allocations: 3.938 kB / 0.6385 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/0.6101, allocations: 5.421 MB / 0.6438 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/0.6107, allocations: 227.2 kB / 0.644 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003975/0.6111, allocations: 20.75 kB / 0.6441 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.6127, allocations: 141.5 kB / 0.6442 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008385/0.6136, allocations: 224.6 kB / 0.6444 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/0.6137, allocations: 35.92 kB / 0.6444 GB, free: 15.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001202/0.6149, allocations: 0.7006 MB / 0.6451 GB, free: 14.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6149, allocations: 4 kB / 0.6451 GB, free: 14.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001692/0.6166, allocations: 487.4 kB / 0.6456 GB, free: 14.43 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01691/0.6336, allocations: 5.987 MB / 0.6514 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007053/0.6407, allocations: 2.692 MB / 0.6541 GB, free: 5.676 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6407, allocations: 0 / 0.6541 GB, free: 5.676 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005036/0.6457, allocations: 1.837 MB / 0.6559 GB, free: 3.793 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.6471, allocations: 128.6 kB / 0.656 GB, free: 3.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04308/0.6902, allocations: 18.17 MB / 0.6737 GB, free: 1.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/0.6911, allocations: 1.159 MB / 0.6749 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006156/0.6917, allocations: 118.3 kB / 0.675 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/0.6924, allocations: 499.2 kB / 0.6754 GB, free: 15.3 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6924, allocations: 0 / 0.6754 GB, free: 15.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06045/0.7529, allocations: 35.45 MB / 0.7101 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.7531, allocations: 221.9 kB / 0.7103 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/3.724, allocations: 0 / 0.7103 GB, free: 11.95 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)