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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008932, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 239.4 MB, free: 5.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 180.3 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5952/0.5952, allocations: 91.92 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004092, allocations: 19.98 kB / 0.5049 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4376, allocations: 72.46 MB / 0.5756 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.007156/0.4448, allocations: 8.116 MB / 0.5836 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005461/0.4503, allocations: 2.686 MB / 0.5862 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.4515, allocations: 17.06 kB / 0.5862 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008394/0.4523, allocations: 262.2 kB / 0.5865 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.4548, allocations: 0.9972 MB / 0.5874 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.4563, allocations: 0.6947 MB / 0.5881 GB, free: 28.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.4584, allocations: 2.169 MB / 0.5902 GB, free: 26.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.459, allocations: 361.6 kB / 0.5906 GB, free: 26.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.4601, allocations: 0.7782 MB / 0.5913 GB, free: 26.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.4612, allocations: 1.043 MB / 0.5924 GB, free: 26.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.4615, allocations: 94.44 kB / 0.5924 GB, free: 26.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007989/0.4623, allocations: 315.7 kB / 0.5927 GB, free: 25.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.4626, allocations: 375.2 kB / 0.5931 GB, free: 25.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007013/0.4633, allocations: 0.8367 MB / 0.5939 GB, free: 25.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.4652, allocations: 2.184 MB / 0.5961 GB, free: 24.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4652, allocations: 0 / 0.5961 GB, free: 24.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4652, allocations: 0 / 0.5961 GB, free: 24.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.654e-05/0.4653, allocations: 0 / 0.5961 GB, free: 24.4 MB / 430.1 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.01278/0.478, allocations: 3.405 MB / 0.5994 GB, free: 23.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.4781, allocations: 10.16 kB / 0.5994 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005259/0.4786, allocations: 154.7 kB / 0.5995 GB, free: 22.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005328/0.484, allocations: 0.7675 MB / 0.6003 GB, free: 22.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.4867, allocations: 1.171 MB / 0.6014 GB, free: 22.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004594/0.4871, allocations: 442 kB / 0.6019 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.4875, allocations: 114.8 kB / 0.602 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.4909, allocations: 1.528 MB / 0.6035 GB, free: 21.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.491, allocations: 0 / 0.6035 GB, free: 21.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.4911, allocations: 41.77 kB / 0.6035 GB, free: 21.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.4911, allocations: 22.84 kB / 0.6035 GB, free: 21.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.4947, allocations: 1.477 MB / 0.605 GB, free: 20.57 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01038/0.5051, allocations: 5.07 MB / 0.6099 GB, free: 17.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009832/0.5149, allocations: 3.548 MB / 0.6134 GB, free: 16.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002602/0.5176, allocations: 1.007 MB / 0.6144 GB, free: 16.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.5178, allocations: 28.05 kB / 0.6144 GB, free: 16.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002864/0.5206, allocations: 1.161 MB / 0.6155 GB, free: 15.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.887e-06/0.5206, allocations: 0 / 0.6155 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04482/0.5655, allocations: 11.45 MB / 0.6267 GB, free: 8.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/0.5656, allocations: 141.5 kB / 0.6268 GB, free: 8.598 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.5688, allocations: 1.484 MB / 0.6283 GB, free: 7.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004999/0.5693, allocations: 57.77 kB / 0.6283 GB, free: 7.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005498/0.5699, allocations: 0.6161 MB / 0.6289 GB, free: 6.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008009/0.5707, allocations: 453.5 kB / 0.6294 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005545/0.5712, allocations: 173.6 kB / 0.6295 GB, free: 5.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.5713, allocations: 301.1 kB / 0.6298 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/0.5738, allocations: 1.066 MB / 0.6309 GB, free: 4.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.5764, allocations: 1.276 MB / 0.6321 GB, free: 3.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00469/0.5811, allocations: 2.269 MB / 0.6343 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.5812, allocations: 4 kB / 0.6343 GB, free: 0.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01494/0.5961, allocations: 5.041 MB / 0.6393 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/0.5963, allocations: 190.7 kB / 0.6394 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.5964, allocations: 4 kB / 0.6394 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/0.6074, allocations: 3.026 MB / 0.6424 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.6093, allocations: 315.6 kB / 0.6427 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007886/0.6172, allocations: 3.019 MB / 0.6456 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003232/0.6205, allocations: 318.2 kB / 0.6459 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003911/0.6209, allocations: 63.98 kB / 0.646 GB, free: 4.738 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6209, allocations: 4 kB / 0.646 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01493/0.6359, allocations: 4.827 MB / 0.6507 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.6359, allocations: 8 kB / 0.6507 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.6464, allocations: 3.022 MB / 0.6537 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.6483, allocations: 299.6 kB / 0.654 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00776/0.6561, allocations: 3 MB / 0.6569 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/0.6592, allocations: 294.4 kB / 0.6572 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/0.6596, allocations: 71.91 kB / 0.6572 GB, free: 9.184 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001218/0.6608, allocations: 377.3 kB / 0.6576 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007115/0.6616, allocations: 166 kB / 0.6578 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01932/0.6809, allocations: 5.874 MB / 0.6635 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/0.681, allocations: 15.94 kB / 0.6635 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.681, allocations: 0 / 0.6635 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.058e-05/0.681, allocations: 15.97 kB / 0.6635 GB, free: 2.715 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02444/0.7055, allocations: 8.036 MB / 0.6714 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/0.7056, allocations: 0 / 0.6714 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.7067, allocations: 151.8 kB / 0.6715 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008885/0.7156, allocations: 2.513 MB / 0.674 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003783/0.716, allocations: 27.98 kB / 0.674 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02878/0.7448, allocations: 10.33 MB / 0.6841 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7449, allocations: 7.938 kB / 0.6841 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02307/0.7679, allocations: 7.142 MB / 0.6911 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009227/0.7689, allocations: 286.6 kB / 0.6913 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007864/0.7697, allocations: 24 kB / 0.6914 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/0.7722, allocations: 203.8 kB / 0.6916 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001062/0.7733, allocations: 253.3 kB / 0.6918 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/0.7735, allocations: 39.92 kB / 0.6918 GB, free: 5.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002328/0.7759, allocations: 1.014 MB / 0.6928 GB, free: 4.371 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.284e-06/0.7759, allocations: 0 / 0.6928 GB, free: 4.371 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003797/0.7797, allocations: 0.8582 MB / 0.6937 GB, free: 3.512 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02329/0.803, allocations: 7.75 MB / 0.7012 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01885/0.8219, allocations: 5.484 MB / 0.7066 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.822, allocations: 4 kB / 0.7066 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00754/0.8295, allocations: 2.182 MB / 0.7087 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.8321, allocations: 147.5 kB / 0.7089 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05977/0.8919, allocations: 22.97 MB / 0.7313 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.8931, allocations: 1.245 MB / 0.7325 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001257/0.8944, allocations: 186.1 kB / 0.7327 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/0.8955, allocations: 0.6164 MB / 0.7333 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of SimCode: time 1.162e-06/0.8955, allocations: 0 / 0.7333 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5933/1.489, allocations: 45.61 MB / 0.7778 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/1.489, allocations: 211.1 kB / 0.778 GB, free: 167 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/4.924, allocations: 0 / 0.778 GB, free: 167 MB / 0.5606 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/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)