Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_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.001464/0.001464, allocations: 180.9 kB / 7.651 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.351/1.351, 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.0009166/0.0009165, allocations: 82.98 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.4922/0.4922, allocations: 78.07 MB / 409.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.815e-05, allocations: 3.938 kB / 485 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1614, allocations: 69.36 MB / 0.5414 GB, free: 6.766 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4948/0.6562, allocations: 110 MB / 0.6488 GB, free: 5.473 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.6566, allocations: 95.61 kB / 0.6489 GB, free: 5.383 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1211/0.7777, allocations: 42.5 MB / 0.6904 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7778, allocations: 0 / 0.6904 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.407e-05/0.7779, allocations: 31.94 kB / 0.6905 GB, free: 10.83 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.006169/0.784, allocations: 2.08 MB / 0.6925 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.488e-05/0.7841, allocations: 8.031 kB / 0.6925 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.7874, allocations: 0.5636 MB / 0.6931 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.7897, allocations: 1.019 MB / 0.6941 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004477/0.7902, allocations: 388.7 kB / 0.6944 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.7904, allocations: 71.94 kB / 0.6945 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002141/0.7925, allocations: 1.096 MB / 0.6956 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.7946, allocations: 1.085 MB / 0.6966 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.7946, allocations: 7.938 kB / 0.6966 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.7948, allocations: 0 / 0.6966 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.7948, allocations: 21.31 kB / 0.6966 GB, free: 4.312 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.009373/0.8042, allocations: 4.776 MB / 0.7013 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007775/0.812, allocations: 3.136 MB / 0.7044 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.8132, allocations: 0.7094 MB / 0.7051 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.8134, allocations: 25.3 kB / 0.7051 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.8147, allocations: 0.8461 MB / 0.7059 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=126): time 3.286e-06/0.8147, allocations: 4 kB / 0.7059 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.01506/0.8298, allocations: 4.856 MB / 0.7107 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/0.8299, allocations: 145.8 kB / 0.7108 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.8322, allocations: 1.092 MB / 0.7119 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003243/0.8325, allocations: 25.7 kB / 0.7119 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.833, allocations: 0.6397 MB / 0.7125 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005684/0.8336, allocations: 433.5 kB / 0.7129 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.49e-05/0.8337, allocations: 0 / 0.7129 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.8339, allocations: 359 kB / 0.7133 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009577/0.8348, allocations: 0.5572 MB / 0.7138 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.8359, allocations: 0.7201 MB / 0.7145 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.8371, allocations: 0.6232 MB / 0.7151 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.8371, allocations: 0 / 0.7151 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003746/0.8409, allocations: 1.959 MB / 0.717 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006222/0.8415, allocations: 1.349 MB / 0.7184 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.8415, allocations: 7.984 kB / 0.7184 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008243/0.8498, allocations: 2.281 MB / 0.7206 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.8509, allocations: 195.8 kB / 0.7208 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004811/0.8557, allocations: 2.423 MB / 0.7231 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.8582, allocations: 243.5 kB / 0.7234 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.8583, allocations: 43.98 kB / 0.7234 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8583, allocations: 4 kB / 0.7234 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003326/0.8617, allocations: 1.772 MB / 0.7252 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.8617, allocations: 7.938 kB / 0.7252 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007452/0.8692, allocations: 2.273 MB / 0.7274 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009434/0.8701, allocations: 191.7 kB / 0.7276 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/0.8749, allocations: 2.417 MB / 0.7299 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.8772, allocations: 234.9 kB / 0.7302 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.8773, allocations: 47.98 kB / 0.7302 GB, free: 1.266 MB / 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.0003849/0.8777, allocations: 122 kB / 0.7303 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01475/0.8925, allocations: 4.861 MB / 0.7351 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008519/0.8934, allocations: 166.1 kB / 0.7352 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/0.9082, allocations: 4.984 MB / 0.7401 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/0.9082, allocations: 12 kB / 0.7401 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.9083, allocations: 7.953 kB / 0.7401 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.736e-05/0.9083, allocations: 5.203 kB / 0.7401 GB, free: 7.082 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.01811/0.9264, allocations: 6.999 MB / 0.7469 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.9265, allocations: 0 / 0.7469 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.9275, allocations: 155.8 kB / 0.7471 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00647/0.934, allocations: 1.982 MB / 0.749 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003142/0.9344, allocations: 8 kB / 0.749 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/0.9518, allocations: 7.704 MB / 0.7566 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.9518, allocations: 7.938 kB / 0.7566 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3943/1.346, allocations: 5.992 MB / 0.7624 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007582/1.347, allocations: 278.9 kB / 0.7627 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005546/1.347, allocations: 5.5 kB / 0.7627 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.349, allocations: 176.7 kB / 0.7629 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007563/1.35, allocations: 257.2 kB / 0.7631 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.914e-05/1.35, allocations: 40.23 kB / 0.7631 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001123/1.351, allocations: 0.8358 MB / 0.764 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.351, allocations: 0 / 0.764 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001946/1.353, allocations: 0.6981 MB / 0.7646 GB, free: 136.4 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.01606/1.369, allocations: 6.746 MB / 0.7712 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.381, allocations: 3.92 MB / 0.7751 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.381, allocations: 0 / 0.7751 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005588/1.386, allocations: 1.83 MB / 0.7768 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/1.388, allocations: 111.9 kB / 0.777 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006244/1.395, allocations: 2.669 MB / 0.7796 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.396, allocations: 1.276 MB / 0.7808 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001308/1.397, allocations: 259 kB / 0.7811 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/1.398, allocations: 0.5846 MB / 0.7816 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of SimCode: time 9.72e-07/1.398, allocations: 0.6562 kB / 0.7816 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.5, allocations: 42.64 MB / 0.8233 GB, free: 132 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/1.5, allocations: 117.9 kB / 0.8234 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/5.154, allocations: 0 / 0.8234 GB, free: 131.8 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)