Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.001799/0.001799, 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.413/1.413, allocations: 222.9 MB / 239.2 MB, free: 4.605 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.001678/0.001678, allocations: 196.5 kB / 289.6 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4609/0.4609, allocations: 78.53 MB / 418.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 83.88 kB / 497.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1555, allocations: 68.17 MB / 0.5525 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2698/0.4254, allocations: 8.263 MB / 0.5605 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005365/0.4308, allocations: 2.554 MB / 0.563 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.4321, allocations: 12.53 kB / 0.5631 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009153/0.433, allocations: 321 kB / 0.5634 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002919/0.436, allocations: 1.19 MB / 0.5645 GB, free: 34.06 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.4374, allocations: 0.6882 MB / 0.5652 GB, free: 34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.4397, allocations: 2.325 MB / 0.5675 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005926/0.4403, allocations: 419.8 kB / 0.5679 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.4413, allocations: 0.8801 MB / 0.5687 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.4423, allocations: 1.133 MB / 0.5698 GB, free: 33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.4426, allocations: 184.5 kB / 0.57 GB, free: 33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.4433, allocations: 413.3 kB / 0.5704 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.4436, allocations: 463 kB / 0.5708 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006456/0.4442, allocations: 0.9125 MB / 0.5717 GB, free: 32.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.4462, allocations: 2.262 MB / 0.5739 GB, free: 32.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4462, allocations: 1.469 kB / 0.5739 GB, free: 32.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4462, allocations: 0 / 0.5739 GB, free: 32.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.327e-05/0.4462, allocations: 0 / 0.5739 GB, free: 32.07 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01309/0.4593, allocations: 3.76 MB / 0.5776 GB, free: 30.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4594, allocations: 11.09 kB / 0.5776 GB, free: 30.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.4596, allocations: 161.8 kB / 0.5778 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/0.464, allocations: 0.7496 MB / 0.5785 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.4659, allocations: 1.111 MB / 0.5796 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/0.4663, allocations: 422.8 kB / 0.58 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.4665, allocations: 113.5 kB / 0.5801 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.4692, allocations: 1.431 MB / 0.5815 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.4693, allocations: 0.75 kB / 0.5815 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.4694, allocations: 40.66 kB / 0.5815 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.4694, allocations: 26.36 kB / 0.5816 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.4723, allocations: 1.344 MB / 0.5829 GB, free: 28.59 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.008226/0.4805, allocations: 4.947 MB / 0.5877 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008193/0.4887, allocations: 2.889 MB / 0.5905 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.4909, allocations: 0.9102 MB / 0.5914 GB, free: 24.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.491, allocations: 21.05 kB / 0.5914 GB, free: 24.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002308/0.4934, allocations: 1.057 MB / 0.5925 GB, free: 23.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.276e-06/0.4934, allocations: 4.906 kB / 0.5925 GB, free: 23.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.0426/0.536, allocations: 9.796 MB / 0.602 GB, free: 22.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.5361, allocations: 119.8 kB / 0.6022 GB, free: 22.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/0.5388, allocations: 1.41 MB / 0.6035 GB, free: 21.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000364/0.5392, allocations: 55.72 kB / 0.6036 GB, free: 21.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.5396, allocations: 0.5942 MB / 0.6042 GB, free: 20.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/0.5401, allocations: 463.6 kB / 0.6046 GB, free: 20.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006243/0.5408, allocations: 332.6 kB / 0.6049 GB, free: 20.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.5408, allocations: 310.3 kB / 0.6052 GB, free: 19.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.543, allocations: 0.9649 MB / 0.6062 GB, free: 19.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/0.5452, allocations: 1.18 MB / 0.6073 GB, free: 18.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004218/0.5494, allocations: 2.075 MB / 0.6093 GB, free: 17.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.5495, allocations: 1.844 kB / 0.6093 GB, free: 17.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009343/0.5588, allocations: 3.709 MB / 0.613 GB, free: 15.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.5589, allocations: 6.875 kB / 0.613 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.5589, allocations: 13.44 kB / 0.613 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009577/0.5685, allocations: 2.978 MB / 0.6159 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.5699, allocations: 268.2 kB / 0.6162 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006505/0.5764, allocations: 2.989 MB / 0.6191 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/0.5789, allocations: 250.3 kB / 0.6193 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.579, allocations: 67.92 kB / 0.6194 GB, free: 10.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0005956/0.5796, allocations: 297.5 kB / 0.6197 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.5799, allocations: 165.9 kB / 0.6198 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/0.595, allocations: 4.814 MB / 0.6245 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.5951, allocations: 12 kB / 0.6245 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.5951, allocations: 4.562 kB / 0.6245 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.776e-05/0.5951, allocations: 12.42 kB / 0.6245 GB, free: 4.816 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 postOpt removeSimpleEquations (simulation): time 0.01889/0.614, allocations: 6.894 MB / 0.6313 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.6141, allocations: 0 / 0.6313 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.6152, allocations: 140.6 kB / 0.6314 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007912/0.6231, allocations: 2.151 MB / 0.6335 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003201/0.6235, allocations: 23.98 kB / 0.6335 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02713/0.6506, allocations: 10.07 MB / 0.6434 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-05/0.6507, allocations: 4 kB / 0.6434 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02008/0.6707, allocations: 5.951 MB / 0.6492 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007917/0.6716, allocations: 270.9 kB / 0.6494 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006642/0.6723, allocations: 39.86 kB / 0.6495 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/0.6744, allocations: 133 kB / 0.6496 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001021/0.6754, allocations: 261.4 kB / 0.6499 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/0.6757, allocations: 36 kB / 0.6499 GB, free: 10.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002002/0.6777, allocations: 0.9542 MB / 0.6508 GB, free: 9.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6777, allocations: 3.938 kB / 0.6508 GB, free: 9.559 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002327/0.68, allocations: 0.519 MB / 0.6513 GB, free: 9.039 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * 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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02039/0.7004, allocations: 6.564 MB / 0.6577 GB, free: 2.438 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01086/0.7113, allocations: 2.932 MB / 0.6606 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7114, allocations: 4 kB / 0.6606 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007262/0.7187, allocations: 1.926 MB / 0.6625 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.7209, allocations: 137.8 kB / 0.6626 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0504/0.7713, allocations: 20.23 MB / 0.6824 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.7725, allocations: 1.227 MB / 0.6836 GB, free: 7.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007825/0.7733, allocations: 142 kB / 0.6837 GB, free: 7.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.7744, allocations: 0.6086 MB / 0.6843 GB, free: 6.418 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7744, allocations: 0 / 0.6843 GB, free: 6.418 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09222/0.8667, allocations: 43.59 MB / 0.7269 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.28, allocations: 14.08 kB / 0.7269 GB, free: 11.12 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)