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.0008085/0.0008086, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.164/1.164, allocations: 223.2 MB / 239.3 MB, free: 5.387 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.0008518/0.0008518, allocations: 172.5 kB / 290.6 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4179/0.4179, allocations: 78.55 MB / 420.3 MB, free: 4.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 8 kB / 0.4888 GB, free: 5.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1029, allocations: 69.35 MB / 0.5565 GB, free: 492 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.1902/0.2932, allocations: 8.086 MB / 0.5644 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.2967, allocations: 2.571 MB / 0.5669 GB, free: 33.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000456/0.2972, allocations: 16.28 kB / 0.5669 GB, free: 33.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.2977, allocations: 252.4 kB / 0.5671 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.2996, allocations: 1.066 MB / 0.5682 GB, free: 33.21 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.001006/0.3006, allocations: 0.6407 MB / 0.5688 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.3021, allocations: 2.206 MB / 0.571 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/0.3026, allocations: 373.7 kB / 0.5713 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.3032, allocations: 0.7637 MB / 0.5721 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007597/0.304, allocations: 1.023 MB / 0.5731 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.3042, allocations: 89.47 kB / 0.5732 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.3046, allocations: 312.3 kB / 0.5735 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.3049, allocations: 363.8 kB / 0.5738 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004658/0.3053, allocations: 0.8273 MB / 0.5746 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3066, allocations: 2.146 MB / 0.5767 GB, free: 31.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3066, allocations: 3.688 kB / 0.5767 GB, free: 31.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3066, allocations: 2.344 kB / 0.5767 GB, free: 31.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.3066, allocations: 0 / 0.5767 GB, free: 31.18 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.01107/0.3177, allocations: 3.536 MB / 0.5802 GB, free: 30.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3178, allocations: 15.06 kB / 0.5802 GB, free: 30.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/0.318, allocations: 153.8 kB / 0.5803 GB, free: 30.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.322, allocations: 0.7554 MB / 0.5811 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.3234, allocations: 1.113 MB / 0.5821 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.3238, allocations: 444.4 kB / 0.5826 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.3239, allocations: 114 kB / 0.5827 GB, free: 29.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.3265, allocations: 1.512 MB / 0.5842 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3265, allocations: 0 / 0.5842 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.3266, allocations: 42.22 kB / 0.5842 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.3266, allocations: 21.94 kB / 0.5842 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/0.3292, allocations: 1.433 MB / 0.5856 GB, free: 28.5 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.006801/0.336, allocations: 5.017 MB / 0.5905 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00819/0.3442, allocations: 3.461 MB / 0.5939 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.346, allocations: 0.9954 MB / 0.5949 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.3461, allocations: 24.67 kB / 0.5949 GB, free: 24.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002124/0.3483, allocations: 1.141 MB / 0.596 GB, free: 23.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.505e-06/0.3483, allocations: 3.938 kB / 0.596 GB, free: 23.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04274/0.391, allocations: 11.96 MB / 0.6077 GB, free: 21.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3911, allocations: 116.6 kB / 0.6078 GB, free: 21.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.3931, allocations: 1.418 MB / 0.6092 GB, free: 20.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.3933, allocations: 51.17 kB / 0.6092 GB, free: 20.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.3936, allocations: 0.5984 MB / 0.6098 GB, free: 20.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.394, allocations: 460.3 kB / 0.6103 GB, free: 19.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.3942, allocations: 172 kB / 0.6104 GB, free: 19.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.122e-05/0.3942, allocations: 309.1 kB / 0.6107 GB, free: 19.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.3963, allocations: 1.05 MB / 0.6117 GB, free: 19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.3984, allocations: 1.257 MB / 0.613 GB, free: 18.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/0.4023, allocations: 2.243 MB / 0.6152 GB, free: 17.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4023, allocations: 1.625 kB / 0.6152 GB, free: 17.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008239/0.4106, allocations: 4.109 MB / 0.6192 GB, free: 13.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4106, allocations: 4 kB / 0.6192 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4106, allocations: 8.547 kB / 0.6192 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008974/0.4196, allocations: 3.352 MB / 0.6225 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.4207, allocations: 269.3 kB / 0.6227 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.427, allocations: 3.316 MB / 0.626 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.4291, allocations: 290.8 kB / 0.6262 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.4292, allocations: 71.91 kB / 0.6263 GB, free: 5.723 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.0005442/0.4298, allocations: 293.5 kB / 0.6266 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.4301, allocations: 161.9 kB / 0.6267 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/0.4458, allocations: 5.863 MB / 0.6325 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.4458, allocations: 16 kB / 0.6325 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4458, allocations: 0.6875 kB / 0.6325 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.4459, allocations: 11.91 kB / 0.6325 GB, free: 15.36 MB / 446.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.01942/0.4653, allocations: 7.941 MB / 0.6402 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4653, allocations: 4 kB / 0.6403 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/0.4661, allocations: 141.3 kB / 0.6404 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007553/0.4736, allocations: 2.515 MB / 0.6428 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.4738, allocations: 31.98 kB / 0.6429 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02428/0.4981, allocations: 10.32 MB / 0.653 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4981, allocations: 0.875 kB / 0.653 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01974/0.5178, allocations: 7.075 MB / 0.6599 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.5184, allocations: 284.5 kB / 0.6601 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/0.5188, allocations: 20 kB / 0.6602 GB, free: 2.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.5206, allocations: 187.8 kB / 0.6603 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007778/0.5214, allocations: 257.9 kB / 0.6606 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.5215, allocations: 31.98 kB / 0.6606 GB, free: 2.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001503/0.523, allocations: 0.9503 MB / 0.6615 GB, free: 1.281 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.523, allocations: 4 kB / 0.6615 GB, free: 1.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001506/0.5246, allocations: 0.523 MB / 0.662 GB, free: 0.7539 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.01958/0.5441, allocations: 7.693 MB / 0.6696 GB, free: 9.023 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009197/0.5534, allocations: 3.22 MB / 0.6727 GB, free: 5.816 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5534, allocations: 224 / 0.6727 GB, free: 5.816 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006277/0.5597, allocations: 2.177 MB / 0.6748 GB, free: 3.617 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.5612, allocations: 130.4 kB / 0.675 GB, free: 3.488 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04636/0.6075, allocations: 22.41 MB / 0.6968 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007359/0.6083, allocations: 1.223 MB / 0.698 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005331/0.6089, allocations: 140.2 kB / 0.6982 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/0.6096, allocations: 0.6047 MB / 0.6988 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.6097, allocations: 0 / 0.6988 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05813/0.6678, allocations: 39.72 MB / 0.7375 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.668, allocations: 204.7 kB / 0.7377 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.202, allocations: 2.844 kB / 0.7377 GB, free: 2.641 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 & /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)