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.008134/0.008134, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.26/1.26, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001408/0.001408, allocations: 192.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4277/0.4277, allocations: 78.54 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 83.81 kB / 0.5532 GB, free: 1.422 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3254, allocations: 68.16 MB / 0.6197 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006506/0.3319, allocations: 8.268 MB / 0.6278 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004279/0.3362, allocations: 2.556 MB / 0.6303 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008764/0.3371, allocations: 12 kB / 0.6303 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008375/0.338, allocations: 321.3 kB / 0.6306 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.3411, allocations: 1.26 MB / 0.6319 GB, free: 13.68 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.001519/0.3426, allocations: 0.6787 MB / 0.6325 GB, free: 13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00286/0.3455, allocations: 2.342 MB / 0.6348 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006226/0.3461, allocations: 420.2 kB / 0.6352 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.3473, allocations: 0.8872 MB / 0.6361 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.3486, allocations: 1.128 MB / 0.6372 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003365/0.349, allocations: 184 kB / 0.6373 GB, free: 8.016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000708/0.3497, allocations: 407.7 kB / 0.6377 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003733/0.3501, allocations: 470.2 kB / 0.6382 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.3509, allocations: 0.9129 MB / 0.6391 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.3533, allocations: 2.3 MB / 0.6413 GB, free: 3.934 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3533, allocations: 0 / 0.6413 GB, free: 3.934 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3533, allocations: 0 / 0.6413 GB, free: 3.934 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.45e-05/0.3534, allocations: 0 / 0.6413 GB, free: 3.934 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.01354/0.3669, allocations: 3.824 MB / 0.6451 GB, free: 52 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.367, allocations: 12.03 kB / 0.6451 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/0.3672, allocations: 156.1 kB / 0.6452 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004527/0.3717, allocations: 0.7638 MB / 0.646 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.3737, allocations: 1.125 MB / 0.6471 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000415/0.3741, allocations: 424.7 kB / 0.6475 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.3743, allocations: 116 kB / 0.6476 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.3772, allocations: 1.428 MB / 0.649 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.3772, allocations: 0 / 0.649 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.3773, allocations: 40 kB / 0.649 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.3774, allocations: 28 kB / 0.649 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/0.3803, allocations: 1.351 MB / 0.6504 GB, free: 10.48 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.008507/0.3888, allocations: 4.924 MB / 0.6552 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008268/0.3971, allocations: 2.888 MB / 0.658 GB, free: 2.316 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.3992, allocations: 0.9073 MB / 0.6589 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.3993, allocations: 24.98 kB / 0.6589 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/0.4016, allocations: 1.058 MB / 0.6599 GB, free: 300 kB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 2.635e-06/0.4016, allocations: 0 / 0.6599 GB, free: 300 kB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.04072/0.4423, allocations: 9.794 MB / 0.6695 GB, free: 6.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.4424, allocations: 127.8 kB / 0.6696 GB, free: 6.309 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.445, allocations: 1.411 MB / 0.671 GB, free: 4.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003679/0.4454, allocations: 49.7 kB / 0.671 GB, free: 4.832 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000552/0.4459, allocations: 0.6087 MB / 0.6716 GB, free: 4.219 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006941/0.4466, allocations: 475.9 kB / 0.6721 GB, free: 3.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009562/0.4476, allocations: 335.5 kB / 0.6724 GB, free: 3.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4477, allocations: 313 kB / 0.6727 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.4501, allocations: 0.9683 MB / 0.6737 GB, free: 2.141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/0.4526, allocations: 1.17 MB / 0.6748 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004526/0.4571, allocations: 2.081 MB / 0.6768 GB, free: 14.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.4571, allocations: 0 / 0.6768 GB, free: 14.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01004/0.4672, allocations: 3.724 MB / 0.6805 GB, free: 11.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.4672, allocations: 7.984 kB / 0.6805 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.4673, allocations: 7.938 kB / 0.6805 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/0.4776, allocations: 2.97 MB / 0.6834 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.4791, allocations: 267.6 kB / 0.6836 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007791/0.4869, allocations: 2.997 MB / 0.6866 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.4896, allocations: 258.8 kB / 0.6868 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/0.49, allocations: 67.92 kB / 0.6869 GB, free: 4.469 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.0008805/0.4909, allocations: 293.5 kB / 0.6872 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005816/0.4914, allocations: 170.9 kB / 0.6873 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/0.5082, allocations: 4.811 MB / 0.692 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.5083, allocations: 16 kB / 0.692 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.5083, allocations: 3.984 kB / 0.692 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/0.5084, allocations: 7.922 kB / 0.692 GB, free: 15.14 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.02064/0.529, allocations: 6.898 MB / 0.6988 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/0.5291, allocations: 4 kB / 0.6988 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009768/0.5301, allocations: 143.8 kB / 0.6989 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007977/0.5381, allocations: 2.142 MB / 0.701 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003591/0.5385, allocations: 31.98 kB / 0.701 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02738/0.5659, allocations: 10.06 MB / 0.7109 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5659, allocations: 4 kB / 0.7109 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/0.5851, allocations: 5.96 MB / 0.7167 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.5857, allocations: 275.7 kB / 0.717 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/0.5862, allocations: 31.92 kB / 0.717 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/0.588, allocations: 135.8 kB / 0.7171 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008055/0.5888, allocations: 257.4 kB / 0.7174 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.589, allocations: 32.11 kB / 0.7174 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001613/0.5906, allocations: 0.962 MB / 0.7183 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5906, allocations: 0 / 0.7183 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001662/0.5923, allocations: 0.5347 MB / 0.7189 GB, free: 3.336 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.01956/0.6119, allocations: 6.556 MB / 0.7253 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01006/0.622, allocations: 2.9 MB / 0.7281 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.622, allocations: 0 / 0.7281 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006749/0.6288, allocations: 1.93 MB / 0.73 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.6306, allocations: 137.1 kB / 0.7301 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04851/0.6791, allocations: 19.05 MB / 0.7487 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/0.68, allocations: 1.223 MB / 0.7499 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00066/0.6807, allocations: 142 kB / 0.75 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000937/0.6817, allocations: 0.6047 MB / 0.7506 GB, free: 2.387 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.6817, allocations: 0 / 0.7506 GB, free: 2.387 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2987/0.9804, allocations: 44.07 MB / 0.7937 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/15.22, allocations: 15.84 kB / 0.7937 GB, free: 126.5 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)