Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 177.5 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.3 MB / 213.4 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009069/0.0009071, allocations: 87.17 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08448/0.08448, allocations: 12.2 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.284/0.284, allocations: 78.06 MB / 450.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.733e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.201, allocations: 69.23 MB / 0.5819 GB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7479/0.9489, allocations: 111.5 MB / 0.6908 GB, free: 13.42 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/0.9494, allocations: 87.52 kB / 0.6908 GB, free: 13.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1221/1.071, allocations: 41.45 MB / 0.7313 GB, free: 11.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.072, allocations: 0 / 0.7313 GB, free: 11.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001136/1.072, allocations: 28 kB / 0.7313 GB, free: 11.37 MB / 474.7 MB 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.006604/1.078, allocations: 2.101 MB / 0.7334 GB, free: 9.367 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/1.078, allocations: 8.031 kB / 0.7334 GB, free: 9.359 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003659/1.082, allocations: 0.5516 MB / 0.7339 GB, free: 8.848 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/1.085, allocations: 1.024 MB / 0.7349 GB, free: 8.027 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005293/1.085, allocations: 392.7 kB / 0.7353 GB, free: 7.578 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/1.086, allocations: 63.59 kB / 0.7354 GB, free: 7.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002177/1.088, allocations: 1.095 MB / 0.7364 GB, free: 6.859 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/1.09, allocations: 1.093 MB / 0.7375 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.09, allocations: 0 / 0.7375 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/1.09, allocations: 3.984 kB / 0.7375 GB, free: 6.098 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/1.09, allocations: 24 kB / 0.7375 GB, free: 6.074 MB / 474.7 MB 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.01049/1.101, allocations: 4.774 MB / 0.7422 GB, free: 2.316 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008405/1.109, allocations: 3.143 MB / 0.7453 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/1.111, allocations: 0.6999 MB / 0.746 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/1.111, allocations: 19.11 kB / 0.746 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00196/1.113, allocations: 0.861 MB / 0.7468 GB, free: 14.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 5.671e-06/1.113, allocations: 0 / 0.7468 GB, free: 14.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.01616/1.129, allocations: 4.856 MB / 0.7516 GB, free: 9.539 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.129, allocations: 149.9 kB / 0.7517 GB, free: 9.359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/1.132, allocations: 1.096 MB / 0.7528 GB, free: 8.258 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000523/1.132, allocations: 25.7 kB / 0.7528 GB, free: 8.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006305/1.133, allocations: 0.6398 MB / 0.7534 GB, free: 7.578 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008075/1.134, allocations: 433.5 kB / 0.7538 GB, free: 7.148 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.3e-05/1.134, allocations: 0 / 0.7538 GB, free: 7.148 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/1.134, allocations: 349.9 kB / 0.7542 GB, free: 6.801 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/1.135, allocations: 0.5611 MB / 0.7547 GB, free: 6.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/1.136, allocations: 0.7124 MB / 0.7554 GB, free: 5.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/1.138, allocations: 0.6232 MB / 0.756 GB, free: 4.859 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.138, allocations: 0 / 0.756 GB, free: 4.859 MB / 490.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004396/1.142, allocations: 1.966 MB / 0.7579 GB, free: 2.883 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007076/1.143, allocations: 1.361 MB / 0.7593 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.143, allocations: 4 kB / 0.7593 GB, free: 1.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008076/1.151, allocations: 2.277 MB / 0.7615 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.152, allocations: 191.7 kB / 0.7617 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/1.157, allocations: 2.417 MB / 0.764 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/1.16, allocations: 242.8 kB / 0.7643 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/1.16, allocations: 55.92 kB / 0.7643 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.16, allocations: 11.94 kB / 0.7643 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003601/1.164, allocations: 1.763 MB / 0.7661 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.164, allocations: 11.95 kB / 0.7661 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007746/1.172, allocations: 2.281 MB / 0.7683 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.173, allocations: 187.7 kB / 0.7685 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/1.178, allocations: 2.417 MB / 0.7708 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/1.181, allocations: 234.9 kB / 0.7711 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/1.181, allocations: 39.98 kB / 0.7711 GB, free: 5.211 MB / 0.4948 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.0004465/1.182, allocations: 120.8 kB / 0.7712 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01569/1.198, allocations: 4.864 MB / 0.776 GB, free: 212 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/1.199, allocations: 165.9 kB / 0.7761 GB, free: 44 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/1.214, allocations: 4.984 MB / 0.781 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/1.215, allocations: 16 kB / 0.781 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.215, allocations: 0 / 0.781 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.786e-05/1.215, allocations: 7.984 kB / 0.781 GB, free: 11.02 MB / 0.5105 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.01963/1.234, allocations: 6.995 MB / 0.7878 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/1.234, allocations: 0 / 0.7878 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.235, allocations: 151.8 kB / 0.788 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006697/1.242, allocations: 1.978 MB / 0.7899 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004208/1.243, allocations: 8 kB / 0.7899 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/1.261, allocations: 7.72 MB / 0.7975 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-05/1.261, allocations: 4 kB / 0.7975 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/1.279, allocations: 6.003 MB / 0.8033 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009784/1.28, allocations: 278.6 kB / 0.8036 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005991/1.281, allocations: 8 kB / 0.8036 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/1.283, allocations: 179.8 kB / 0.8038 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009289/1.284, allocations: 261.2 kB / 0.804 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.284, allocations: 35.98 kB / 0.8041 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001541/1.286, allocations: 0.8335 MB / 0.8049 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.286, allocations: 0 / 0.8049 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002628/1.289, allocations: 0.6979 MB / 0.8056 GB, free: 1.566 MB / 0.5261 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.01811/1.307, allocations: 6.744 MB / 0.8121 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01386/1.321, allocations: 3.909 MB / 0.816 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/1.321, allocations: 0 / 0.816 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006763/1.327, allocations: 1.838 MB / 0.8178 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/1.33, allocations: 110.9 kB / 0.8179 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008035/1.338, allocations: 2.668 MB / 0.8205 GB, free: 2.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.339, allocations: 1.278 MB / 0.8217 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00152/1.34, allocations: 264.7 kB / 0.822 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008678/1.341, allocations: 0.5852 MB / 0.8225 GB, free: 24 kB / 0.5417 GB Notification: Performance of SimCode: time 1.173e-06/1.341, allocations: 7.938 kB / 0.8225 GB, free: 16 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4344/1.776, allocations: 42.65 MB / 0.8642 GB, free: 173.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/1.776, allocations: 131.7 kB / 0.8643 GB, free: 173.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.963/5.738, allocations: 7.625 kB / 0.8643 GB, free: 173.7 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)