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.004568/0.004568, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.411/1.411, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001482/0.001482, allocations: 188.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4653/0.4653, allocations: 78.53 MB / 418.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003209/0.003209, allocations: 87.75 kB / 0.5532 GB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2812, allocations: 68.17 MB / 0.6197 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.00667/0.2879, allocations: 8.256 MB / 0.6278 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004546/0.2924, allocations: 2.56 MB / 0.6303 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.2935, allocations: 12 kB / 0.6303 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.2945, allocations: 317.3 kB / 0.6306 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.2978, allocations: 1.209 MB / 0.6318 GB, free: 13.77 MB / 446.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.001533/0.2993, allocations: 0.6818 MB / 0.6325 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.3021, allocations: 2.334 MB / 0.6347 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006374/0.3028, allocations: 428.2 kB / 0.6352 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.3039, allocations: 0.8833 MB / 0.636 GB, free: 9.422 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.3053, allocations: 1.136 MB / 0.6371 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.3056, allocations: 180 kB / 0.6373 GB, free: 8.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007299/0.3063, allocations: 403.8 kB / 0.6377 GB, free: 7.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.3068, allocations: 466.2 kB / 0.6381 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008836/0.3077, allocations: 0.9051 MB / 0.639 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.3102, allocations: 2.308 MB / 0.6413 GB, free: 4.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3102, allocations: 4 kB / 0.6413 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3102, allocations: 0 / 0.6413 GB, free: 4.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.802e-05/0.3103, allocations: 4 kB / 0.6413 GB, free: 4.02 MB / 446.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.01426/0.3245, allocations: 3.818 MB / 0.645 GB, free: 144 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3246, allocations: 8.031 kB / 0.645 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.3248, allocations: 160.2 kB / 0.6452 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/0.3297, allocations: 0.7559 MB / 0.6459 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.3319, allocations: 1.137 MB / 0.647 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000518/0.3324, allocations: 424.7 kB / 0.6474 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.3327, allocations: 108 kB / 0.6475 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/0.3359, allocations: 1.432 MB / 0.6489 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.3359, allocations: 0 / 0.6489 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.336, allocations: 43.98 kB / 0.649 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.3361, allocations: 24 kB / 0.649 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003201/0.3393, allocations: 1.343 MB / 0.6503 GB, free: 10.57 MB / 462.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.009366/0.3486, allocations: 4.924 MB / 0.6551 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00909/0.3578, allocations: 2.892 MB / 0.6579 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/0.3601, allocations: 0.9151 MB / 0.6588 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.3603, allocations: 16.98 kB / 0.6588 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002449/0.3627, allocations: 1.069 MB / 0.6599 GB, free: 384 kB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 2.825e-06/0.3627, allocations: 0 / 0.6599 GB, free: 384 kB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.04401/0.4068, allocations: 9.79 MB / 0.6694 GB, free: 6.547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.4069, allocations: 119.8 kB / 0.6696 GB, free: 6.402 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.4093, allocations: 1.411 MB / 0.6709 GB, free: 4.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002876/0.4096, allocations: 49.7 kB / 0.671 GB, free: 4.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/0.4101, allocations: 0.6126 MB / 0.6716 GB, free: 4.309 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/0.4107, allocations: 472 kB / 0.672 GB, free: 3.844 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006897/0.4114, allocations: 339.5 kB / 0.6723 GB, free: 3.508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4115, allocations: 301.1 kB / 0.6726 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/0.4139, allocations: 0.9761 MB / 0.6736 GB, free: 2.234 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.4165, allocations: 1.17 MB / 0.6747 GB, free: 1.016 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004852/0.4214, allocations: 2.081 MB / 0.6768 GB, free: 14.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.4214, allocations: 4 kB / 0.6768 GB, free: 14.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01048/0.4319, allocations: 3.716 MB / 0.6804 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.4319, allocations: 8 kB / 0.6804 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.4319, allocations: 7.938 kB / 0.6804 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/0.4429, allocations: 2.978 MB / 0.6833 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.4444, allocations: 267.6 kB / 0.6836 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007961/0.4524, allocations: 2.993 MB / 0.6865 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.4548, allocations: 254.8 kB / 0.6867 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.4549, allocations: 63.92 kB / 0.6868 GB, free: 4.57 MB / 494.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.0006379/0.4556, allocations: 305.5 kB / 0.6871 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.4559, allocations: 166.9 kB / 0.6873 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/0.4737, allocations: 4.823 MB / 0.692 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.4737, allocations: 12 kB / 0.692 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4737, allocations: 0 / 0.692 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/0.4738, allocations: 15.91 kB / 0.692 GB, free: 15.22 MB / 0.4981 GB 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.02079/0.4946, allocations: 6.89 MB / 0.6987 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.4946, allocations: 0 / 0.6987 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000964/0.4956, allocations: 143.8 kB / 0.6989 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008286/0.5039, allocations: 2.146 MB / 0.7009 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/0.5042, allocations: 24 kB / 0.701 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02861/0.5328, allocations: 10.08 MB / 0.7108 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5328, allocations: 0 / 0.7108 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02085/0.5537, allocations: 5.952 MB / 0.7166 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.5543, allocations: 279.7 kB / 0.7169 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.5546, allocations: 27.94 kB / 0.7169 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/0.5562, allocations: 135.8 kB / 0.717 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000897/0.5571, allocations: 261.4 kB / 0.7173 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.5573, allocations: 32.09 kB / 0.7173 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001627/0.5589, allocations: 0.9542 MB / 0.7183 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5589, allocations: 0 / 0.7183 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001416/0.5603, allocations: 0.5347 MB / 0.7188 GB, free: 3.438 MB / 0.5137 GB 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.0211/0.5814, allocations: 6.561 MB / 0.7252 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009741/0.5912, allocations: 2.899 MB / 0.728 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5913, allocations: 0 / 0.728 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006702/0.598, allocations: 1.931 MB / 0.7299 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.5991, allocations: 136.2 kB / 0.73 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04757/0.6467, allocations: 19.04 MB / 0.7486 GB, free: 4.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/0.6477, allocations: 1.227 MB / 0.7498 GB, free: 3.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005913/0.6483, allocations: 138 kB / 0.75 GB, free: 3.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000933/0.6492, allocations: 0.6164 MB / 0.7506 GB, free: 2.477 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.6492, allocations: 3.938 kB / 0.7506 GB, free: 2.473 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3121/0.9613, allocations: 44.08 MB / 0.7936 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.36, allocations: 7.906 kB / 0.7936 GB, free: 127.4 MB / 0.5606 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)