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.001692/0.001693, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.56/1.56, allocations: 223.2 MB / 239 MB, free: 5.438 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.001299/0.001299, allocations: 172.6 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4852/0.4852, allocations: 79.48 MB / 420.8 MB, free: 3.895 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005467/0.0005468, allocations: 8 kB / 0.4892 GB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3922, allocations: 69.51 MB / 0.5571 GB, free: 37.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.006463/0.3987, allocations: 7.581 MB / 0.5645 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.4036, allocations: 2.573 MB / 0.567 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009985/0.4046, allocations: 15.56 kB / 0.567 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.4054, allocations: 233.3 kB / 0.5673 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.4075, allocations: 0.9282 MB / 0.5682 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.409, allocations: 0.6191 MB / 0.5688 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.4109, allocations: 2.026 MB / 0.5707 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005055/0.4114, allocations: 332.4 kB / 0.5711 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008662/0.4123, allocations: 0.7803 MB / 0.5718 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000918/0.4132, allocations: 1.016 MB / 0.5728 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.4134, allocations: 92.84 kB / 0.5729 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005854/0.414, allocations: 312.8 kB / 0.5732 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.4143, allocations: 362.4 kB / 0.5735 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.4145, allocations: 296.4 kB / 0.5738 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.4157, allocations: 1.715 MB / 0.5755 GB, free: 32.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4158, allocations: 0.6875 kB / 0.5755 GB, free: 32.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4158, allocations: 0 / 0.5755 GB, free: 32.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.4158, allocations: 3.531 kB / 0.5755 GB, free: 32.76 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.009851/0.4256, allocations: 3.419 MB / 0.5788 GB, free: 31.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4257, allocations: 8.094 kB / 0.5789 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/0.4259, allocations: 157.9 kB / 0.579 GB, free: 31.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004044/0.43, allocations: 0.7647 MB / 0.5798 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.4318, allocations: 1.125 MB / 0.5809 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/0.4321, allocations: 439 kB / 0.5813 GB, free: 30.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.4323, allocations: 110.7 kB / 0.5814 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.4348, allocations: 1.523 MB / 0.5829 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.4349, allocations: 2.812 kB / 0.5829 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.435, allocations: 36.19 kB / 0.5829 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.435, allocations: 23.06 kB / 0.5829 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.4376, allocations: 1.47 MB / 0.5844 GB, free: 29.05 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.007534/0.4451, allocations: 5.066 MB / 0.5893 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008073/0.4532, allocations: 3.541 MB / 0.5928 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.4551, allocations: 1.005 MB / 0.5937 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.4552, allocations: 22.36 kB / 0.5938 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00229/0.4575, allocations: 1.168 MB / 0.5949 GB, free: 24.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 7.494e-06/0.4576, allocations: 0 / 0.5949 GB, free: 24.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.0403/0.4979, allocations: 11.36 MB / 0.606 GB, free: 22.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.498, allocations: 143.3 kB / 0.6061 GB, free: 22.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.5015, allocations: 1.474 MB / 0.6076 GB, free: 21.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003524/0.5019, allocations: 55.59 kB / 0.6076 GB, free: 21.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005696/0.5024, allocations: 0.6107 MB / 0.6082 GB, free: 20.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007201/0.5032, allocations: 456.2 kB / 0.6087 GB, free: 20.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.5035, allocations: 39.03 kB / 0.6087 GB, free: 20.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5037, allocations: 371.1 kB / 0.6091 GB, free: 20.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/0.5063, allocations: 1.06 MB / 0.6101 GB, free: 19.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/0.5089, allocations: 1.269 MB / 0.6113 GB, free: 19.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.5115, allocations: 1.14 MB / 0.6124 GB, free: 18.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.5115, allocations: 0.9375 kB / 0.6124 GB, free: 18.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01633/0.5278, allocations: 6.425 MB / 0.6187 GB, free: 13.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.528, allocations: 194.6 kB / 0.6189 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.528, allocations: 7.953 kB / 0.6189 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008379/0.5364, allocations: 3.027 MB / 0.6219 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.5382, allocations: 320.8 kB / 0.6222 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/0.5445, allocations: 3.006 MB / 0.6251 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.5474, allocations: 314.3 kB / 0.6254 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003557/0.5478, allocations: 60.73 kB / 0.6255 GB, free: 6.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5478, allocations: 4 kB / 0.6255 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0154/0.5632, allocations: 6.224 MB / 0.6316 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.5633, allocations: 4 kB / 0.6316 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008808/0.5721, allocations: 3.024 MB / 0.6345 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.5739, allocations: 307.6 kB / 0.6348 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00639/0.5804, allocations: 3 MB / 0.6377 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/0.5831, allocations: 295.3 kB / 0.638 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003552/0.5834, allocations: 59.98 kB / 0.6381 GB, free: 9.434 MB / 446.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 ($whenCondition1,$whenCondition2) * 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 (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.00114/0.5846, allocations: 380.8 kB / 0.6384 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006418/0.5852, allocations: 161.9 kB / 0.6386 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/0.6013, allocations: 5.872 MB / 0.6443 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/0.6014, allocations: 16 kB / 0.6443 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.6014, allocations: 1.875 kB / 0.6443 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.485e-05/0.6014, allocations: 7.969 kB / 0.6443 GB, free: 2.977 MB / 446.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.01988/0.6213, allocations: 8.033 MB / 0.6522 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.6214, allocations: 0 / 0.6522 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009714/0.6224, allocations: 151.8 kB / 0.6523 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007406/0.6298, allocations: 2.515 MB / 0.6548 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/0.6301, allocations: 31.98 kB / 0.6548 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02409/0.6542, allocations: 10.3 MB / 0.6649 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.6543, allocations: 0.75 kB / 0.6649 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/0.674, allocations: 7.134 MB / 0.6719 GB, free: 6.492 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008996/0.675, allocations: 278.7 kB / 0.6721 GB, free: 6.199 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006354/0.6756, allocations: 32 kB / 0.6721 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/0.6776, allocations: 196.7 kB / 0.6723 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009692/0.6786, allocations: 257.3 kB / 0.6726 GB, free: 5.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/0.6789, allocations: 35.98 kB / 0.6726 GB, free: 5.691 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002045/0.6809, allocations: 1.002 MB / 0.6736 GB, free: 4.691 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6809, allocations: 3.938 kB / 0.6736 GB, free: 4.688 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003245/0.6842, allocations: 0.8661 MB / 0.6744 GB, free: 3.82 MB / 478.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 (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.01863/0.7028, allocations: 7.734 MB / 0.682 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.016/0.7189, allocations: 5.463 MB / 0.6873 GB, free: 6.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.7189, allocations: 0.875 kB / 0.6873 GB, free: 6.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006398/0.7254, allocations: 2.186 MB / 0.6895 GB, free: 4.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.7278, allocations: 153.9 kB / 0.6896 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03331/0.7612, allocations: 14.32 MB / 0.7036 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.7624, allocations: 1.245 MB / 0.7048 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001263/0.7637, allocations: 196.9 kB / 0.705 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.7649, allocations: 0.6086 MB / 0.7056 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.246e-06/0.7649, allocations: 4 kB / 0.7056 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08109/0.846, allocations: 45.6 MB / 0.7501 GB, free: 5.973 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.8463, allocations: 204.4 kB / 0.7503 GB, free: 5.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.254/4.1, allocations: 0 / 0.7503 GB, free: 5.73 MB / 0.545 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) Environment - environmentSimulation: