Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.0015/0.0015, allocations: 172 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.367/1.367, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0009287/0.0009286, allocations: 92.3 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4692/0.4692, allocations: 78.07 MB / 409.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.973e-05, allocations: 3.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 69.36 MB / 0.5414 GB, free: 6.773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5835, allocations: 109.1 MB / 0.6479 GB, free: 6.344 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5838, allocations: 88.45 kB / 0.648 GB, free: 6.258 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1144/0.6981, allocations: 40.87 MB / 0.6879 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6982, allocations: 0 / 0.6879 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.544e-05/0.6983, allocations: 31.94 kB / 0.688 GB, free: 13.36 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.005553/0.7038, allocations: 2.017 MB / 0.6899 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.7039, allocations: 8.688 kB / 0.6899 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.7071, allocations: 0.5482 MB / 0.6905 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.7088, allocations: 0.9533 MB / 0.6914 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004604/0.7093, allocations: 392.6 kB / 0.6918 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.7095, allocations: 60 kB / 0.6918 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001916/0.7114, allocations: 1.047 MB / 0.6929 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.7133, allocations: 1.045 MB / 0.6939 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.7133, allocations: 0.6562 kB / 0.6939 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.7134, allocations: 0 / 0.6939 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.7135, allocations: 24 kB / 0.6939 GB, free: 7.082 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.008998/0.7225, allocations: 4.635 MB / 0.6984 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007759/0.7303, allocations: 3.055 MB / 0.7014 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.7318, allocations: 0.6782 MB / 0.7021 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.732, allocations: 21.28 kB / 0.7021 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.7334, allocations: 0.8298 MB / 0.7029 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 3.297e-06/0.7334, allocations: 4 kB / 0.7029 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.01563/0.749, allocations: 4.864 MB / 0.7077 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.7492, allocations: 116.1 kB / 0.7078 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/0.7512, allocations: 1.037 MB / 0.7088 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003414/0.7515, allocations: 29.69 kB / 0.7088 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.7521, allocations: 0.612 MB / 0.7094 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000573/0.7526, allocations: 421.7 kB / 0.7098 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.7527, allocations: 0 / 0.7098 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7529, allocations: 357.9 kB / 0.7102 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009833/0.7539, allocations: 0.5501 MB / 0.7107 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.755, allocations: 0.6959 MB / 0.7114 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.7561, allocations: 0.6037 MB / 0.712 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.7562, allocations: 3.938 kB / 0.712 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003901/0.7601, allocations: 1.97 MB / 0.7139 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.7601, allocations: 4.438 kB / 0.7139 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7601, allocations: 8.859 kB / 0.7139 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00819/0.7683, allocations: 2.416 MB / 0.7163 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000873/0.7692, allocations: 157.6 kB / 0.7164 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005514/0.7748, allocations: 2.627 MB / 0.719 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.7771, allocations: 215 kB / 0.7192 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.7773, allocations: 47.98 kB / 0.7192 GB, free: 12.63 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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 31} Notification: Performance of prepare postOptimizeDAE: time 0.0003469/0.7776, allocations: 126.6 kB / 0.7193 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01536/0.793, allocations: 4.883 MB / 0.7241 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008123/0.7939, allocations: 154.1 kB / 0.7243 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/0.8098, allocations: 5.002 MB / 0.7291 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/0.8099, allocations: 15.95 kB / 0.7292 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.8099, allocations: 0 / 0.7292 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.675e-05/0.8099, allocations: 7.969 kB / 0.7292 GB, free: 2.398 MB / 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.01776/0.8277, allocations: 6.848 MB / 0.7359 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.8278, allocations: 4.031 kB / 0.7359 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009436/0.8287, allocations: 135.8 kB / 0.736 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006514/0.8352, allocations: 1.986 MB / 0.7379 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/0.8355, allocations: 11.98 kB / 0.7379 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.8536, allocations: 7.705 MB / 0.7455 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.8537, allocations: 1.031 kB / 0.7455 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/0.8709, allocations: 5.893 MB / 0.7512 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008481/0.8718, allocations: 274.7 kB / 0.7515 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.8721, allocations: 7.062 kB / 0.7515 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.8737, allocations: 167.8 kB / 0.7517 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007895/0.8745, allocations: 253.3 kB / 0.7519 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.913e-05/0.8747, allocations: 31.98 kB / 0.7519 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00118/0.8758, allocations: 0.7883 MB / 0.7527 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8758, allocations: 0 / 0.7527 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001695/0.8776, allocations: 447.3 kB / 0.7531 GB, free: 9.559 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,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.01708/0.8946, allocations: 6.646 MB / 0.7596 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006718/0.9014, allocations: 2.249 MB / 0.7618 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.9015, allocations: 0 / 0.7618 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.2791/1.181, allocations: 1.801 MB / 0.7636 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/1.182, allocations: 100.6 kB / 0.7637 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004954/1.187, allocations: 2.483 MB / 0.7661 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/1.188, allocations: 1.244 MB / 0.7673 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005754/1.188, allocations: 116.3 kB / 0.7674 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/1.189, allocations: 0.57 MB / 0.768 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.294e-06/1.189, allocations: 0 / 0.768 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07378/1.263, allocations: 34.43 MB / 0.8016 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/1.263, allocations: 120.4 kB / 0.8017 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/4.496, allocations: 0 / 0.8017 GB, free: 139.2 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)