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.001042/0.001042, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.489/1.489, allocations: 223.3 MB / 239.4 MB, free: 5.496 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.001323/0.001323, allocations: 180.5 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5218/0.5218, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004212, allocations: 19.98 kB / 0.5049 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4104, allocations: 72.45 MB / 0.5756 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005456/0.4159, allocations: 6.893 MB / 0.5824 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.4196, allocations: 2.15 MB / 0.5845 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/0.4201, allocations: 18.38 kB / 0.5845 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.4207, allocations: 203.7 kB / 0.5847 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.4221, allocations: 0.6803 MB / 0.5853 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.4234, allocations: 0.6928 MB / 0.586 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.4246, allocations: 1.634 MB / 0.5876 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.4251, allocations: 352.3 kB / 0.588 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.4256, allocations: 0.6064 MB / 0.5885 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006566/0.4263, allocations: 0.7444 MB / 0.5893 GB, free: 28.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.4264, allocations: 63.72 kB / 0.5893 GB, free: 28.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.4268, allocations: 198.9 kB / 0.5895 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.427, allocations: 262.2 kB / 0.5898 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004669/0.4275, allocations: 0.6579 MB / 0.5904 GB, free: 27.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.4288, allocations: 1.689 MB / 0.5921 GB, free: 26.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4288, allocations: 0 / 0.5921 GB, free: 26.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4289, allocations: 4.25 kB / 0.5921 GB, free: 26.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.4289, allocations: 0 / 0.5921 GB, free: 26.91 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.008181/0.4371, allocations: 2.642 MB / 0.5947 GB, free: 25.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4371, allocations: 8.75 kB / 0.5947 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002257/0.4373, allocations: 145.9 kB / 0.5948 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004896/0.4423, allocations: 0.7998 MB / 0.5956 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.4438, allocations: 0.9242 MB / 0.5965 GB, free: 24.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003437/0.4441, allocations: 336.9 kB / 0.5968 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.4443, allocations: 100.7 kB / 0.5969 GB, free: 24.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.4472, allocations: 1.364 MB / 0.5982 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4472, allocations: 1 kB / 0.5982 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.4473, allocations: 35.41 kB / 0.5983 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.4474, allocations: 21.22 kB / 0.5983 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.4503, allocations: 1.293 MB / 0.5996 GB, free: 23.61 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.007651/0.458, allocations: 4.291 MB / 0.6037 GB, free: 21.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00361/0.4616, allocations: 1.873 MB / 0.6056 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.4636, allocations: 0.9453 MB / 0.6065 GB, free: 19.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.4638, allocations: 18.12 kB / 0.6065 GB, free: 19.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002309/0.4661, allocations: 1.032 MB / 0.6075 GB, free: 19.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.397e-06/0.4661, allocations: 0 / 0.6075 GB, free: 19.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03714/0.5032, allocations: 9.316 MB / 0.6166 GB, free: 17.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.5033, allocations: 119.2 kB / 0.6167 GB, free: 17.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.5051, allocations: 1.04 MB / 0.6177 GB, free: 16.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002266/0.5054, allocations: 46.55 kB / 0.6178 GB, free: 16.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.5057, allocations: 0.5284 MB / 0.6183 GB, free: 16.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003712/0.5061, allocations: 387.8 kB / 0.6187 GB, free: 16.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.5063, allocations: 123.8 kB / 0.6188 GB, free: 16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.5064, allocations: 358.3 kB / 0.6191 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.5083, allocations: 0.8646 MB / 0.62 GB, free: 15.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.5104, allocations: 1.02 MB / 0.621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02069/0.5311, allocations: 6.02 MB / 0.6269 GB, free: 8.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.5311, allocations: 0 / 0.6269 GB, free: 8.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01405/0.5452, allocations: 5.366 MB / 0.6321 GB, free: 3.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.5453, allocations: 69.42 kB / 0.6322 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.5453, allocations: 4 kB / 0.6322 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006003/0.5513, allocations: 2.05 MB / 0.6342 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.5528, allocations: 287.6 kB / 0.6344 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/0.5751, allocations: 9.323 MB / 0.6435 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.5773, allocations: 258.8 kB / 0.6438 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.5774, allocations: 47.98 kB / 0.6438 GB, free: 6.996 MB / 446.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.0006969/0.5781, allocations: 295.7 kB / 0.6441 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.5784, allocations: 126.4 kB / 0.6442 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/0.5954, allocations: 5.338 MB / 0.6495 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.5955, allocations: 12 kB / 0.6495 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5955, allocations: 0 / 0.6495 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.34e-05/0.5955, allocations: 11.91 kB / 0.6495 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01977/0.6153, allocations: 7.208 MB / 0.6565 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.6154, allocations: 3.938 kB / 0.6565 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.6162, allocations: 139.8 kB / 0.6567 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007393/0.6236, allocations: 2.219 MB / 0.6588 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/0.6238, allocations: 24 kB / 0.6588 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02451/0.6483, allocations: 10.64 MB / 0.6692 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6483, allocations: 0 / 0.6692 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/0.6679, allocations: 6.45 MB / 0.6755 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006345/0.6686, allocations: 227.2 kB / 0.6758 GB, free: 5.789 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.6687, allocations: 16 kB / 0.6758 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.6702, allocations: 183.8 kB / 0.6759 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007742/0.671, allocations: 232.6 kB / 0.6762 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.712e-05/0.6711, allocations: 31.98 kB / 0.6762 GB, free: 5.336 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001086/0.6722, allocations: 0.7045 MB / 0.6769 GB, free: 4.625 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6722, allocations: 0 / 0.6769 GB, free: 4.625 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00148/0.6737, allocations: 483.4 kB / 0.6773 GB, free: 4.152 MB / 478.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.01891/0.6926, allocations: 7.012 MB / 0.6842 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007714/0.7003, allocations: 3.005 MB / 0.6871 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.7004, allocations: 0 / 0.6871 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005569/0.7059, allocations: 2.072 MB / 0.6891 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.7072, allocations: 127.8 kB / 0.6893 GB, free: 7.816 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04778/0.755, allocations: 20.19 MB / 0.709 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.7558, allocations: 1.159 MB / 0.7101 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006229/0.7565, allocations: 116.3 kB / 0.7102 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/0.7571, allocations: 491.3 kB / 0.7107 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.7571, allocations: 0 / 0.7107 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.963/5.72, allocations: 34.81 MB / 0.7447 GB, free: 14.79 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/5.72, allocations: 236.9 kB / 0.7449 GB, free: 14.53 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.51/9.23, allocations: 0 / 0.7449 GB, free: 14.53 MB / 0.545 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/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)