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.008639/0.008638, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.363/1.363, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001938/0.001938, allocations: 192.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4311/0.4311, allocations: 78.52 MB / 418.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 80.09 kB / 0.5532 GB, free: 1.441 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3199, allocations: 68.17 MB / 0.6197 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.00673/0.3267, allocations: 8.265 MB / 0.6278 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004906/0.3316, allocations: 2.552 MB / 0.6303 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.3328, allocations: 15.94 kB / 0.6303 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.3339, allocations: 313.3 kB / 0.6306 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003298/0.3372, allocations: 1.206 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.001619/0.3389, allocations: 0.6902 MB / 0.6325 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00297/0.3419, allocations: 2.342 MB / 0.6347 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.3426, allocations: 422.6 kB / 0.6352 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.3439, allocations: 0.8833 MB / 0.636 GB, free: 9.418 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.3456, allocations: 1.128 MB / 0.6371 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005508/0.3462, allocations: 184 kB / 0.6373 GB, free: 8.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.3472, allocations: 403.8 kB / 0.6377 GB, free: 7.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006265/0.3478, allocations: 474.1 kB / 0.6381 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.3491, allocations: 0.9012 MB / 0.639 GB, free: 6.336 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.3516, allocations: 2.297 MB / 0.6413 GB, free: 4.031 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3516, allocations: 0 / 0.6413 GB, free: 4.031 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3516, allocations: 4 kB / 0.6413 GB, free: 4.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.441e-05/0.3517, allocations: 0 / 0.6413 GB, free: 4.027 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.01382/0.3655, allocations: 3.771 MB / 0.6449 GB, free: 204 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.3656, allocations: 16.03 kB / 0.645 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003523/0.3659, allocations: 156.1 kB / 0.6451 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/0.3707, allocations: 0.7512 MB / 0.6458 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.3729, allocations: 1.108 MB / 0.6469 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004738/0.3734, allocations: 424.7 kB / 0.6473 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.3737, allocations: 111.9 kB / 0.6474 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.3767, allocations: 1.435 MB / 0.6488 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.3768, allocations: 0 / 0.6488 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.3769, allocations: 36 kB / 0.6489 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.3769, allocations: 24 kB / 0.6489 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.38, allocations: 1.351 MB / 0.6502 GB, free: 10.65 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.008851/0.3888, allocations: 4.907 MB / 0.655 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008501/0.3974, allocations: 2.892 MB / 0.6578 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/0.3995, allocations: 0.9073 MB / 0.6587 GB, free: 1.582 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.3997, allocations: 28.97 kB / 0.6587 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002443/0.4022, allocations: 1.058 MB / 0.6598 GB, free: 484 kB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 5.08e-06/0.4022, allocations: 0 / 0.6598 GB, free: 484 kB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.04123/0.4434, allocations: 9.785 MB / 0.6693 GB, free: 6.648 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.4435, allocations: 115.8 kB / 0.6694 GB, free: 6.508 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.4459, allocations: 1.419 MB / 0.6708 GB, free: 5.078 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002757/0.4462, allocations: 49.7 kB / 0.6709 GB, free: 5.023 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.4467, allocations: 0.604 MB / 0.6715 GB, free: 4.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000579/0.4473, allocations: 457.4 kB / 0.6719 GB, free: 3.961 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007742/0.4481, allocations: 335.4 kB / 0.6722 GB, free: 3.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.4482, allocations: 305.1 kB / 0.6725 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.4504, allocations: 0.9722 MB / 0.6735 GB, free: 2.355 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.4528, allocations: 1.166 MB / 0.6746 GB, free: 1.141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00445/0.4572, allocations: 2.089 MB / 0.6766 GB, free: 15.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.4573, allocations: 0 / 0.6766 GB, free: 15.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009586/0.4669, allocations: 3.707 MB / 0.6803 GB, free: 11.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.4669, allocations: 6.031 kB / 0.6803 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.4669, allocations: 4 kB / 0.6803 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.477, allocations: 2.974 MB / 0.6832 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.4784, allocations: 275.6 kB / 0.6834 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007374/0.4858, allocations: 2.992 MB / 0.6864 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.4881, allocations: 246.3 kB / 0.6866 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.4884, allocations: 71.92 kB / 0.6867 GB, free: 4.703 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.0006665/0.4891, allocations: 297.5 kB / 0.6869 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004136/0.4895, allocations: 161.9 kB / 0.6871 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/0.5059, allocations: 4.815 MB / 0.6918 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.5059, allocations: 16 kB / 0.6918 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5059, allocations: 3.938 kB / 0.6918 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/0.506, allocations: 11.91 kB / 0.6918 GB, free: 15.37 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.01952/0.5255, allocations: 6.882 MB / 0.6985 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.5255, allocations: 4.016 kB / 0.6986 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009415/0.5265, allocations: 147.8 kB / 0.6987 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007792/0.5343, allocations: 2.146 MB / 0.7008 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000274/0.5346, allocations: 23.98 kB / 0.7008 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02679/0.5614, allocations: 10.05 MB / 0.7106 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.5615, allocations: 4 kB / 0.7106 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/0.5802, allocations: 5.948 MB / 0.7164 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/0.5808, allocations: 270.8 kB / 0.7167 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003636/0.5812, allocations: 27.94 kB / 0.7167 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/0.5829, allocations: 135.8 kB / 0.7169 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008012/0.5837, allocations: 257.4 kB / 0.7171 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.5838, allocations: 39.98 kB / 0.7171 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001518/0.5854, allocations: 0.9543 MB / 0.7181 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.353e-06/0.5854, allocations: 4.109 kB / 0.7181 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001512/0.5869, allocations: 0.5345 MB / 0.7186 GB, free: 3.609 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.01888/0.6058, allocations: 6.548 MB / 0.725 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009298/0.6151, allocations: 2.891 MB / 0.7278 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6152, allocations: 0 / 0.7278 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006508/0.6217, allocations: 1.931 MB / 0.7297 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.6233, allocations: 129.2 kB / 0.7298 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04461/0.6679, allocations: 18.99 MB / 0.7484 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/0.6688, allocations: 1.223 MB / 0.7496 GB, free: 3.496 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006444/0.6695, allocations: 138 kB / 0.7497 GB, free: 3.359 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000898/0.6704, allocations: 0.6086 MB / 0.7503 GB, free: 2.75 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.6704, allocations: 0 / 0.7503 GB, free: 2.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3264/0.9968, allocations: 45.92 MB / 0.7951 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.12, allocations: 13.8 kB / 0.7951 GB, free: 124.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)