Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.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.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",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.00135/0.00135, allocations: 173.9 kB / 7.648 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.262/1.262, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008497/0.0008497, allocations: 107.8 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4641/0.4641, allocations: 78.95 MB / 410.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.792e-05, allocations: 4 kB / 486 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1559, allocations: 69.51 MB / 0.5425 GB, free: 5.781 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5694, allocations: 110.7 MB / 0.6506 GB, free: 3.184 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.5698, allocations: 85.48 kB / 0.6507 GB, free: 3.102 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1162/0.6861, allocations: 40.99 MB / 0.6907 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6861, allocations: 4 kB / 0.6907 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001471/0.6863, allocations: 28 kB / 0.6908 GB, free: 10.09 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.007086/0.6934, allocations: 2.076 MB / 0.6928 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/0.6935, allocations: 12.03 kB / 0.6928 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004556/0.698, allocations: 0.6807 MB / 0.6935 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.7009, allocations: 1.058 MB / 0.6945 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005307/0.7014, allocations: 388.7 kB / 0.6949 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004393/0.7019, allocations: 67.95 kB / 0.6949 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002335/0.7042, allocations: 1.09 MB / 0.696 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.7063, allocations: 1.093 MB / 0.6971 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.7063, allocations: 0 / 0.6971 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.7064, allocations: 3.984 kB / 0.6971 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.7064, allocations: 24 kB / 0.6971 GB, free: 3.422 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.009522/0.716, allocations: 4.835 MB / 0.7018 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007902/0.7239, allocations: 3.146 MB / 0.7049 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.7252, allocations: 0.6977 MB / 0.7056 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.7254, allocations: 21.28 kB / 0.7056 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/0.727, allocations: 0.8535 MB / 0.7064 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=126): time 4.639e-06/0.727, allocations: 3.938 kB / 0.7064 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.01556/0.7426, allocations: 4.856 MB / 0.7112 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.7427, allocations: 146.9 kB / 0.7113 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.745, allocations: 1.134 MB / 0.7124 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003235/0.7454, allocations: 25.7 kB / 0.7124 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005366/0.7459, allocations: 0.6437 MB / 0.7131 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006846/0.7466, allocations: 429.5 kB / 0.7135 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.7468, allocations: 0 / 0.7135 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.747, allocations: 354 kB / 0.7138 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.748, allocations: 0.5611 MB / 0.7144 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.7492, allocations: 0.7163 MB / 0.7151 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.7505, allocations: 0.6232 MB / 0.7157 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.7505, allocations: 0 / 0.7157 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004016/0.7545, allocations: 1.959 MB / 0.7176 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005186/0.7551, allocations: 1.354 MB / 0.7189 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.7551, allocations: 4 kB / 0.7189 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007745/0.7629, allocations: 2.281 MB / 0.7211 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.7639, allocations: 195.7 kB / 0.7213 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005003/0.7689, allocations: 2.423 MB / 0.7237 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/0.7713, allocations: 246.8 kB / 0.7239 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.7715, allocations: 51.91 kB / 0.724 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.7716, allocations: 4 kB / 0.724 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003715/0.7753, allocations: 1.771 MB / 0.7257 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.7753, allocations: 4.562 kB / 0.7257 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007552/0.7829, allocations: 2.281 MB / 0.7279 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/0.7839, allocations: 187.7 kB / 0.7281 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.7887, allocations: 2.426 MB / 0.7305 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.791, allocations: 234.8 kB / 0.7307 GB, free: 312 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.7913, allocations: 43.98 kB / 0.7308 GB, free: 268 kB / 0.5261 GB 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 (101): * Single equations (assignments): 100 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004226/0.7917, allocations: 127.5 kB / 0.7309 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01509/0.8068, allocations: 4.856 MB / 0.7356 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007343/0.8076, allocations: 166.1 kB / 0.7358 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01498/0.8226, allocations: 4.988 MB / 0.7407 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.8226, allocations: 19.98 kB / 0.7407 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.8226, allocations: 3.953 kB / 0.7407 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.622e-05/0.8227, allocations: 3.984 kB / 0.7407 GB, free: 6.07 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.01926/0.842, allocations: 7.031 MB / 0.7475 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.842, allocations: 0 / 0.7475 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.843, allocations: 150.2 kB / 0.7477 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006482/0.8495, allocations: 1.982 MB / 0.7496 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003139/0.8499, allocations: 11.98 kB / 0.7496 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/0.8676, allocations: 7.709 MB / 0.7572 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.8676, allocations: 4 kB / 0.7572 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3081/1.176, allocations: 5.988 MB / 0.763 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006723/1.176, allocations: 285.2 kB / 0.7633 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/1.177, allocations: 5.906 kB / 0.7633 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.178, allocations: 180.8 kB / 0.7635 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007037/1.179, allocations: 266 kB / 0.7637 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/1.179, allocations: 35.25 kB / 0.7638 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001073/1.18, allocations: 0.867 MB / 0.7646 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.18, allocations: 0 / 0.7646 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001725/1.182, allocations: 0.703 MB / 0.7653 GB, free: 135.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1],sEXS.transferFunction.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 (83): * Single equations (assignments): 82 * 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.01509/1.197, allocations: 6.743 MB / 0.7719 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.209, allocations: 3.918 MB / 0.7757 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.209, allocations: 0 / 0.7757 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005056/1.214, allocations: 1.828 MB / 0.7775 GB, free: 134 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/1.215, allocations: 108.8 kB / 0.7776 GB, free: 134 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/1.221, allocations: 2.67 MB / 0.7802 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000874/1.222, allocations: 1.281 MB / 0.7814 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001217/1.223, allocations: 261.6 kB / 0.7817 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007985/1.224, allocations: 0.5866 MB / 0.7823 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.753e-06/1.224, allocations: 0 / 0.7823 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08964/1.313, allocations: 42.88 MB / 0.8241 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/1.314, allocations: 129.9 kB / 0.8243 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/4.768, allocations: 3.719 kB / 0.8243 GB, free: 130.7 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)