Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_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.001082/0.001082, allocations: 173.2 kB / 7.647 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.226/1.226, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.001043/0.001043, allocations: 100.4 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4532/0.4532, allocations: 78.95 MB / 410.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.686e-05, allocations: 0 / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 69.52 MB / 0.5425 GB, free: 5.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.5385, allocations: 110.7 MB / 0.6506 GB, free: 3.277 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.5389, allocations: 87.94 kB / 0.6507 GB, free: 3.191 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.114/0.6529, allocations: 40.01 MB / 0.6898 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6529, allocations: 4 kB / 0.6898 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000145/0.6531, allocations: 28 kB / 0.6898 GB, free: 11.16 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.00663/0.6597, allocations: 2.045 MB / 0.6918 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.6598, allocations: 11.97 kB / 0.6918 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004142/0.6639, allocations: 0.6729 MB / 0.6925 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.6665, allocations: 1.022 MB / 0.6935 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005083/0.667, allocations: 392.7 kB / 0.6939 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004276/0.6675, allocations: 63.86 kB / 0.6939 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002482/0.67, allocations: 1.078 MB / 0.695 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.6725, allocations: 1.081 MB / 0.696 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.6725, allocations: 1.125 kB / 0.696 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.6727, allocations: 0 / 0.696 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.6727, allocations: 27.94 kB / 0.6961 GB, free: 4.59 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.01114/0.6839, allocations: 4.802 MB / 0.7008 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00819/0.6921, allocations: 3.068 MB / 0.7038 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.6935, allocations: 0.6977 MB / 0.7044 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.6937, allocations: 25.3 kB / 0.7045 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/0.6954, allocations: 0.8266 MB / 0.7053 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=125): time 4.258e-06/0.6955, allocations: 7.938 kB / 0.7053 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125): time 0.01588/0.7113, allocations: 4.821 MB / 0.71 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.7115, allocations: 120.1 kB / 0.7101 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002695/0.7142, allocations: 1.086 MB / 0.7112 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003473/0.7146, allocations: 30.45 kB / 0.7112 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006406/0.7152, allocations: 0.6315 MB / 0.7118 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007712/0.716, allocations: 429.5 kB / 0.7122 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.7162, allocations: 0 / 0.7122 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.7164, allocations: 349.9 kB / 0.7125 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.7176, allocations: 0.5611 MB / 0.7131 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.7189, allocations: 0.7084 MB / 0.7138 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.7202, allocations: 0.6271 MB / 0.7144 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.7203, allocations: 0.5625 kB / 0.7144 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004481/0.7248, allocations: 2.025 MB / 0.7164 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.7248, allocations: 12 kB / 0.7164 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.7248, allocations: 4 kB / 0.7164 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008353/0.7332, allocations: 2.493 MB / 0.7188 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.734, allocations: 147.8 kB / 0.719 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/0.74, allocations: 2.741 MB / 0.7216 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.7426, allocations: 226.8 kB / 0.7219 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.7428, allocations: 44.84 kB / 0.7219 GB, free: 9.594 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.0004563/0.7433, allocations: 129.7 kB / 0.722 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01519/0.7585, allocations: 4.825 MB / 0.7267 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006924/0.7592, allocations: 166 kB / 0.7269 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.7746, allocations: 4.94 MB / 0.7317 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/0.7746, allocations: 15.98 kB / 0.7317 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.7746, allocations: 8 kB / 0.7317 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/0.7747, allocations: 3.984 kB / 0.7317 GB, free: 15.47 MB / 0.5417 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.01839/0.7931, allocations: 6.909 MB / 0.7385 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.7931, allocations: 0 / 0.7385 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008953/0.794, allocations: 135.8 kB / 0.7386 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006468/0.8005, allocations: 1.998 MB / 0.7406 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.8007, allocations: 11.98 kB / 0.7406 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/0.8186, allocations: 7.707 MB / 0.7481 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.8186, allocations: 5.641 kB / 0.7481 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/0.8354, allocations: 5.968 MB / 0.7539 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/0.8361, allocations: 278.8 kB / 0.7542 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004617/0.8366, allocations: 8.844 kB / 0.7542 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/0.8385, allocations: 159.8 kB / 0.7544 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007953/0.8393, allocations: 265.2 kB / 0.7546 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.8395, allocations: 35.98 kB / 0.7547 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001535/0.841, allocations: 0.8281 MB / 0.7555 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.841, allocations: 0 / 0.7555 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00171/0.8428, allocations: 467.2 kB / 0.7559 GB, free: 6.41 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.3154/1.158, allocations: 6.704 MB / 0.7625 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006801/1.165, allocations: 2.276 MB / 0.7647 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.165, allocations: 3.562 kB / 0.7647 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005205/1.17, allocations: 1.808 MB / 0.7665 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/1.172, allocations: 105.7 kB / 0.7666 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004954/1.176, allocations: 2.547 MB / 0.769 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/1.177, allocations: 1.257 MB / 0.7703 GB, free: 137 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004999/1.178, allocations: 112.3 kB / 0.7704 GB, free: 137 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007127/1.178, allocations: 0.5949 MB / 0.771 GB, free: 137 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/1.178, allocations: 0 / 0.771 GB, free: 137 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07617/1.255, allocations: 35.45 MB / 0.8056 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/1.255, allocations: 120.6 kB / 0.8057 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/4.194, allocations: 0 / 0.8057 GB, free: 135.4 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)