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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008475/0.0008476, allocations: 93.67 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4739/0.4739, allocations: 78.08 MB / 409.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.195e-05, allocations: 7.938 kB / 485 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1499, allocations: 69.35 MB / 0.5414 GB, free: 6.762 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.6016, allocations: 110.1 MB / 0.6489 GB, free: 5.434 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.602, allocations: 85.41 kB / 0.6489 GB, free: 5.352 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1165/0.7186, allocations: 41.52 MB / 0.6895 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.266e-06/0.7186, allocations: 0 / 0.6895 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.567e-05/0.7187, allocations: 43.94 kB / 0.6895 GB, free: 11.79 MB / 0.4948 GB 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.005571/0.7243, allocations: 2.029 MB / 0.6915 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.7244, allocations: 12.03 kB / 0.6915 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.7277, allocations: 0.5559 MB / 0.6921 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.7298, allocations: 0.975 MB / 0.693 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004474/0.7302, allocations: 396.7 kB / 0.6934 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.7304, allocations: 75.17 kB / 0.6935 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001992/0.7324, allocations: 1.074 MB / 0.6945 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.7343, allocations: 1.081 MB / 0.6956 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.7344, allocations: 3.938 kB / 0.6956 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.7345, allocations: 4 kB / 0.6956 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.7345, allocations: 24 kB / 0.6956 GB, free: 5.383 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.00852/0.743, allocations: 4.755 MB / 0.7002 GB, free: 436 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007796/0.7508, allocations: 3.077 MB / 0.7032 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.7523, allocations: 0.6899 MB / 0.7039 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.7525, allocations: 25.19 kB / 0.7039 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.7539, allocations: 0.8383 MB / 0.7048 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=125): time 3.476e-06/0.7539, allocations: 0 / 0.7048 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125): time 0.01532/0.7693, allocations: 4.817 MB / 0.7095 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.7694, allocations: 124.2 kB / 0.7096 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.7713, allocations: 1.035 MB / 0.7106 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003609/0.7717, allocations: 25.7 kB / 0.7106 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.7722, allocations: 0.6393 MB / 0.7112 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005325/0.7727, allocations: 433.5 kB / 0.7117 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.7728, allocations: 0 / 0.7117 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.773, allocations: 351.2 kB / 0.712 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009736/0.774, allocations: 0.5494 MB / 0.7125 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.775, allocations: 0.7163 MB / 0.7132 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.7763, allocations: 0.6193 MB / 0.7138 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.7763, allocations: 0 / 0.7138 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003987/0.7803, allocations: 2.029 MB / 0.7158 GB, free: 172 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.7803, allocations: 4 kB / 0.7158 GB, free: 168 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.7803, allocations: 7.984 kB / 0.7158 GB, free: 160 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008432/0.7888, allocations: 2.491 MB / 0.7183 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/0.7897, allocations: 151.8 kB / 0.7184 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005524/0.7952, allocations: 2.739 MB / 0.7211 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.7975, allocations: 222.8 kB / 0.7213 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.7976, allocations: 43.98 kB / 0.7213 GB, free: 10.48 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sCRX.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.0003571/0.798, allocations: 138 kB / 0.7215 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01483/0.8128, allocations: 4.821 MB / 0.7262 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009031/0.8138, allocations: 162 kB / 0.7263 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/0.8291, allocations: 4.944 MB / 0.7312 GB, free: 396 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.8291, allocations: 12 kB / 0.7312 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.8291, allocations: 0 / 0.7312 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-05/0.8292, allocations: 11.97 kB / 0.7312 GB, free: 372 kB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01779/0.847, allocations: 6.87 MB / 0.7379 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.8471, allocations: 3.984 kB / 0.7379 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.8481, allocations: 141.9 kB / 0.738 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006423/0.8545, allocations: 1.994 MB / 0.74 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002448/0.8548, allocations: 15.98 kB / 0.74 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/0.8725, allocations: 7.695 MB / 0.7475 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8725, allocations: 0 / 0.7475 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/0.8903, allocations: 5.983 MB / 0.7533 GB, free: 9.375 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008661/0.8913, allocations: 271.6 kB / 0.7536 GB, free: 9.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005467/0.8918, allocations: 8 kB / 0.7536 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/0.8937, allocations: 155.8 kB / 0.7538 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008373/0.8945, allocations: 265.2 kB / 0.754 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.8947, allocations: 35.98 kB / 0.754 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001185/0.8958, allocations: 0.7969 MB / 0.7548 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.52e-07/0.8959, allocations: 0 / 0.7548 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001563/0.8974, allocations: 451.2 kB / 0.7553 GB, free: 7.395 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01748/0.9149, allocations: 6.723 MB / 0.7618 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3072/1.222, allocations: 2.268 MB / 0.764 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.222, allocations: 0.625 kB / 0.764 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005333/1.228, allocations: 1.815 MB / 0.7658 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.229, allocations: 100.2 kB / 0.7659 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/1.234, allocations: 2.525 MB / 0.7684 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/1.234, allocations: 1.255 MB / 0.7696 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004799/1.235, allocations: 120.5 kB / 0.7697 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/1.236, allocations: 0.5937 MB / 0.7703 GB, free: 141 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/1.236, allocations: 0 / 0.7703 GB, free: 141 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08659/1.322, allocations: 35.09 MB / 0.8046 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/1.322, allocations: 117.1 kB / 0.8047 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.347/4.67, allocations: 0 / 0.8047 GB, free: 139.4 MB / 0.5573 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/linux/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)