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.001521/0.001521, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 239.3 MB, free: 4.574 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.001552/0.001552, allocations: 196.5 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6052/0.6052, allocations: 91.91 MB / 431.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 75.88 kB / 0.502 GB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4018, allocations: 71.27 MB / 0.5716 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.006371/0.4082, allocations: 7.002 MB / 0.5784 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004585/0.4128, allocations: 2.127 MB / 0.5805 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.4142, allocations: 18.28 kB / 0.5805 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009194/0.4152, allocations: 255.7 kB / 0.5808 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.4172, allocations: 0.7787 MB / 0.5815 GB, free: 30.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.4188, allocations: 0.7608 MB / 0.5823 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.4208, allocations: 1.716 MB / 0.5839 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005683/0.4214, allocations: 397.5 kB / 0.5843 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009635/0.4224, allocations: 0.7077 MB / 0.585 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008585/0.4232, allocations: 0.8347 MB / 0.5858 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.4234, allocations: 134.6 kB / 0.5859 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005415/0.424, allocations: 274.7 kB / 0.5862 GB, free: 28.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.4242, allocations: 341.2 kB / 0.5865 GB, free: 28.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000577/0.4248, allocations: 0.7168 MB / 0.5872 GB, free: 27.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.4267, allocations: 1.792 MB / 0.589 GB, free: 26.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4267, allocations: 0 / 0.589 GB, free: 26.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.4267, allocations: 4.203 kB / 0.589 GB, free: 26.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.4268, allocations: 0 / 0.589 GB, free: 26.76 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.00952/0.4363, allocations: 2.839 MB / 0.5918 GB, free: 25.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.4364, allocations: 10.5 kB / 0.5918 GB, free: 25.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.4366, allocations: 144.8 kB / 0.5919 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/0.4416, allocations: 0.8009 MB / 0.5927 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.444, allocations: 0.9195 MB / 0.5936 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/0.4445, allocations: 331 kB / 0.5939 GB, free: 24.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.4448, allocations: 96.59 kB / 0.594 GB, free: 24.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/0.448, allocations: 1.284 MB / 0.5953 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.4481, allocations: 4 kB / 0.5953 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.4482, allocations: 35.62 kB / 0.5953 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.4482, allocations: 20.5 kB / 0.5953 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/0.4514, allocations: 1.201 MB / 0.5965 GB, free: 23.31 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.008978/0.4604, allocations: 4.225 MB / 0.6006 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/0.464, allocations: 1.767 MB / 0.6023 GB, free: 19.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/0.4661, allocations: 0.8612 MB / 0.6032 GB, free: 19.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.4662, allocations: 12.75 kB / 0.6032 GB, free: 19.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002329/0.4686, allocations: 0.9644 MB / 0.6041 GB, free: 19.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 6.462e-06/0.4686, allocations: 0 / 0.6041 GB, free: 19.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03645/0.505, allocations: 7.755 MB / 0.6117 GB, free: 17.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.5052, allocations: 115.5 kB / 0.6118 GB, free: 17.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.5076, allocations: 1.045 MB / 0.6128 GB, free: 17.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003976/0.508, allocations: 43.17 kB / 0.6129 GB, free: 16.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/0.5085, allocations: 0.524 MB / 0.6134 GB, free: 16.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008222/0.5093, allocations: 396 kB / 0.6138 GB, free: 16.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/0.5105, allocations: 242.8 kB / 0.614 GB, free: 16.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5107, allocations: 354.1 kB / 0.6143 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/0.513, allocations: 0.7948 MB / 0.6151 GB, free: 15.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.5153, allocations: 0.9405 MB / 0.616 GB, free: 14.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02329/0.5386, allocations: 5.498 MB / 0.6214 GB, free: 10.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.5387, allocations: 4 kB / 0.6214 GB, free: 10.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01462/0.5533, allocations: 4.452 MB / 0.6257 GB, free: 6.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.854e-05/0.5534, allocations: 63.41 kB / 0.6258 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.5534, allocations: 320 / 0.6258 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005878/0.5593, allocations: 1.741 MB / 0.6275 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.561, allocations: 287.6 kB / 0.6278 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/0.584, allocations: 9.053 MB / 0.6366 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/0.5866, allocations: 202.8 kB / 0.6368 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003946/0.5871, allocations: 51.97 kB / 0.6369 GB, free: 10.89 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.001146/0.5882, allocations: 307.4 kB / 0.6372 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006343/0.5889, allocations: 138.3 kB / 0.6373 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/0.6048, allocations: 4.393 MB / 0.6416 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.6049, allocations: 12 kB / 0.6416 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6049, allocations: 0 / 0.6416 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-05/0.605, allocations: 11.91 kB / 0.6416 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01988/0.6249, allocations: 6.271 MB / 0.6477 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/0.625, allocations: 4 kB / 0.6477 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009121/0.6259, allocations: 127.9 kB / 0.6479 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007124/0.633, allocations: 1.899 MB / 0.6497 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003383/0.6334, allocations: 27.98 kB / 0.6497 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02482/0.6582, allocations: 10.73 MB / 0.6602 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.6583, allocations: 3.984 kB / 0.6602 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/0.6767, allocations: 5.435 MB / 0.6655 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/0.6774, allocations: 219.2 kB / 0.6657 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006378/0.678, allocations: 23.98 kB / 0.6658 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.6799, allocations: 139.9 kB / 0.6659 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009513/0.6808, allocations: 240.6 kB / 0.6661 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002301/0.6811, allocations: 28 kB / 0.6661 GB, free: 12.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00145/0.6825, allocations: 0.7006 MB / 0.6668 GB, free: 11.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6826, allocations: 4 kB / 0.6668 GB, free: 11.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002159/0.6847, allocations: 483.5 kB / 0.6673 GB, free: 11.2 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.0183/0.703, allocations: 6.003 MB / 0.6732 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008656/0.7117, allocations: 2.773 MB / 0.6759 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7118, allocations: 0 / 0.6759 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005975/0.7178, allocations: 1.88 MB / 0.6777 GB, free: 420 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.7197, allocations: 132.9 kB / 0.6778 GB, free: 288 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04671/0.7664, allocations: 17.72 MB / 0.6951 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009608/0.7674, allocations: 1.151 MB / 0.6963 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007399/0.7682, allocations: 116.3 kB / 0.6964 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008872/0.7691, allocations: 0.4915 MB / 0.6968 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.7691, allocations: 0 / 0.6968 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07979/0.8489, allocations: 38.29 MB / 0.7342 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.35, allocations: 6.812 kB / 0.7342 GB, free: 6.184 MB / 0.5294 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)