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.005432/0.005432, allocations: 102.5 kB / 15.73 MB, free: 6.035 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.22/1.22, 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.001471/0.001471, allocations: 192.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.405/0.405, allocations: 78.53 MB / 418.4 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 79.89 kB / 0.5532 GB, free: 1.469 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2718, allocations: 68.17 MB / 0.6197 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.007315/0.2791, allocations: 8.268 MB / 0.6278 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.2839, allocations: 2.552 MB / 0.6303 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009981/0.2849, allocations: 16 kB / 0.6303 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.2858, allocations: 313.3 kB / 0.6306 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.2887, allocations: 1.202 MB / 0.6318 GB, free: 13.79 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.00128/0.29, allocations: 0.6829 MB / 0.6325 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.2924, allocations: 2.338 MB / 0.6347 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005343/0.293, allocations: 426.6 kB / 0.6351 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009731/0.2939, allocations: 0.8833 MB / 0.636 GB, free: 9.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.295, allocations: 1.132 MB / 0.6371 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.2952, allocations: 180 kB / 0.6373 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.2958, allocations: 411.7 kB / 0.6377 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003399/0.2962, allocations: 470.2 kB / 0.6381 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006965/0.2969, allocations: 0.8974 MB / 0.639 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.2988, allocations: 2.301 MB / 0.6412 GB, free: 4.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2988, allocations: 0 / 0.6412 GB, free: 4.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2988, allocations: 0 / 0.6412 GB, free: 4.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.2988, allocations: 0 / 0.6412 GB, free: 4.051 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.0121/0.3109, allocations: 3.771 MB / 0.6449 GB, free: 228 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.311, allocations: 11.97 kB / 0.6449 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.3112, allocations: 156.1 kB / 0.6451 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004341/0.3155, allocations: 0.751 MB / 0.6458 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.3172, allocations: 1.116 MB / 0.6469 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/0.3176, allocations: 424.7 kB / 0.6473 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.3178, allocations: 112 kB / 0.6474 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/0.3205, allocations: 1.432 MB / 0.6488 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3206, allocations: 4 kB / 0.6488 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.3207, allocations: 43.98 kB / 0.6489 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.3207, allocations: 24 kB / 0.6489 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/0.3235, allocations: 1.347 MB / 0.6502 GB, free: 10.67 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.008278/0.3317, allocations: 4.903 MB / 0.655 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007595/0.3394, allocations: 2.894 MB / 0.6578 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.3411, allocations: 0.919 MB / 0.6587 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.3413, allocations: 20.97 kB / 0.6587 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002055/0.3433, allocations: 1.061 MB / 0.6598 GB, free: 500 kB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.186e-06/0.3434, allocations: 0 / 0.6598 GB, free: 500 kB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.03876/0.3821, allocations: 9.781 MB / 0.6693 GB, free: 6.668 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.3822, allocations: 123.8 kB / 0.6694 GB, free: 6.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.3846, allocations: 1.403 MB / 0.6708 GB, free: 5.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002984/0.3849, allocations: 61.75 kB / 0.6709 GB, free: 5.039 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/0.3854, allocations: 0.5963 MB / 0.6715 GB, free: 4.438 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005736/0.386, allocations: 465.4 kB / 0.6719 GB, free: 3.977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007719/0.3868, allocations: 331.4 kB / 0.6722 GB, free: 3.648 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3869, allocations: 301.1 kB / 0.6725 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.3889, allocations: 0.9722 MB / 0.6735 GB, free: 2.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/0.391, allocations: 1.178 MB / 0.6746 GB, free: 1.152 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/0.395, allocations: 2.077 MB / 0.6766 GB, free: 15.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.395, allocations: 0 / 0.6766 GB, free: 15.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008627/0.4036, allocations: 3.711 MB / 0.6803 GB, free: 11.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.4037, allocations: 8 kB / 0.6803 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4037, allocations: 7.984 kB / 0.6803 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009057/0.4128, allocations: 2.97 MB / 0.6832 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.414, allocations: 263.6 kB / 0.6834 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/0.4205, allocations: 2.992 MB / 0.6863 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.4227, allocations: 258.3 kB / 0.6866 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.4229, allocations: 67.92 kB / 0.6867 GB, free: 4.723 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.0006406/0.4235, allocations: 293.5 kB / 0.6869 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/0.4239, allocations: 165.9 kB / 0.6871 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/0.4387, allocations: 4.811 MB / 0.6918 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.4388, allocations: 16 kB / 0.6918 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4388, allocations: 0 / 0.6918 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.4388, allocations: 15.84 kB / 0.6918 GB, free: 15.39 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.01726/0.4561, allocations: 6.893 MB / 0.6986 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.4561, allocations: 0 / 0.6986 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008901/0.457, allocations: 139.8 kB / 0.6987 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006796/0.4638, allocations: 2.146 MB / 0.7008 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/0.4641, allocations: 35.98 kB / 0.7008 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02325/0.4874, allocations: 10.05 MB / 0.7106 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4874, allocations: 0 / 0.7106 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/0.5044, allocations: 5.936 MB / 0.7164 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/0.505, allocations: 278.8 kB / 0.7167 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003749/0.5054, allocations: 31.92 kB / 0.7167 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.5071, allocations: 135.8 kB / 0.7169 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000769/0.5079, allocations: 257.4 kB / 0.7171 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.508, allocations: 32 kB / 0.7171 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001516/0.5095, allocations: 0.9542 MB / 0.7181 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5095, allocations: 0 / 0.7181 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001509/0.511, allocations: 0.5307 MB / 0.7186 GB, free: 3.641 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.01733/0.5284, allocations: 6.556 MB / 0.725 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008059/0.5365, allocations: 2.891 MB / 0.7278 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.5365, allocations: 0 / 0.7278 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005599/0.5421, allocations: 1.931 MB / 0.7297 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.5433, allocations: 141.2 kB / 0.7298 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04018/0.5835, allocations: 18.98 MB / 0.7484 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.5842, allocations: 1.227 MB / 0.7496 GB, free: 3.512 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005142/0.5848, allocations: 138 kB / 0.7497 GB, free: 3.375 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007668/0.5855, allocations: 0.6086 MB / 0.7503 GB, free: 2.766 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.5856, allocations: 0 / 0.7503 GB, free: 2.766 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2982/0.8838, allocations: 45.92 MB / 0.7951 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.8, allocations: 7.969 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)