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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001034, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.499/1.499, allocations: 223.2 MB / 239 MB, free: 5.449 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.001301/0.001301, allocations: 172.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5535/0.5535, allocations: 78.54 MB / 419.9 MB, free: 4.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004458, allocations: 12 kB / 499.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1634, allocations: 69.36 MB / 0.5559 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.3419/0.5054, allocations: 7.56 MB / 0.5633 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006266/0.5117, allocations: 2.564 MB / 0.5658 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.513, allocations: 14.69 kB / 0.5658 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008962/0.5139, allocations: 239.2 kB / 0.566 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.5168, allocations: 1.003 MB / 0.567 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.5183, allocations: 0.614 MB / 0.5676 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002555/0.5209, allocations: 2.158 MB / 0.5697 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006027/0.5215, allocations: 334.2 kB / 0.57 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.5227, allocations: 0.7886 MB / 0.5708 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.5239, allocations: 1.031 MB / 0.5718 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.5241, allocations: 91.59 kB / 0.5719 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007498/0.5249, allocations: 297.1 kB / 0.5722 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.5252, allocations: 372.4 kB / 0.5725 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.5255, allocations: 290.3 kB / 0.5728 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.527, allocations: 1.731 MB / 0.5745 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.527, allocations: 0 / 0.5745 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.527, allocations: 0 / 0.5745 GB, free: 33.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.527, allocations: 0 / 0.5745 GB, free: 33.59 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.01154/0.5386, allocations: 3.638 MB / 0.5781 GB, free: 32.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5386, allocations: 8.594 kB / 0.5781 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003956/0.539, allocations: 156.5 kB / 0.5782 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/0.5432, allocations: 0.7594 MB / 0.579 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.5453, allocations: 1.119 MB / 0.5801 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.5457, allocations: 442 kB / 0.5805 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.5459, allocations: 113.4 kB / 0.5806 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.5485, allocations: 1.526 MB / 0.5821 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.5485, allocations: 3.953 kB / 0.5821 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.5487, allocations: 37.56 kB / 0.5821 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.5487, allocations: 21.56 kB / 0.5821 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/0.5514, allocations: 1.466 MB / 0.5836 GB, free: 29.85 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.008481/0.5599, allocations: 5.071 MB / 0.5885 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00872/0.5686, allocations: 3.539 MB / 0.592 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002306/0.571, allocations: 1.006 MB / 0.593 GB, free: 25.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.5712, allocations: 27.31 kB / 0.593 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002818/0.574, allocations: 1.16 MB / 0.5941 GB, free: 24.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 8.927e-06/0.574, allocations: 0 / 0.5941 GB, free: 24.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04318/0.6172, allocations: 11.37 MB / 0.6052 GB, free: 23.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.6173, allocations: 143.9 kB / 0.6054 GB, free: 22.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/0.6217, allocations: 1.474 MB / 0.6068 GB, free: 22.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004726/0.6222, allocations: 52.58 kB / 0.6068 GB, free: 22.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000733/0.6229, allocations: 0.6124 MB / 0.6074 GB, free: 21.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008226/0.6238, allocations: 461.3 kB / 0.6079 GB, free: 21.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004649/0.6243, allocations: 40 kB / 0.6079 GB, free: 21.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.6245, allocations: 371.5 kB / 0.6083 GB, free: 21.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00293/0.6274, allocations: 1.064 MB / 0.6093 GB, free: 20.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/0.6304, allocations: 1.265 MB / 0.6105 GB, free: 19.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/0.6331, allocations: 1.14 MB / 0.6117 GB, free: 19.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/0.6332, allocations: 1.375 kB / 0.6117 GB, free: 19.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01666/0.6498, allocations: 6.418 MB / 0.6179 GB, free: 14.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.65, allocations: 194.6 kB / 0.6181 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.65, allocations: 4 kB / 0.6181 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008336/0.6584, allocations: 3.036 MB / 0.6211 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.6601, allocations: 317 kB / 0.6214 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/0.6659, allocations: 3.002 MB / 0.6243 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/0.6688, allocations: 315.1 kB / 0.6246 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/0.6692, allocations: 67.97 kB / 0.6247 GB, free: 7.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6693, allocations: 4 kB / 0.6247 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01666/0.6859, allocations: 6.231 MB / 0.6308 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/0.686, allocations: 3.938 kB / 0.6308 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009427/0.6954, allocations: 3.012 MB / 0.6337 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.6975, allocations: 308.1 kB / 0.634 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007353/0.7048, allocations: 3 MB / 0.6369 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/0.7078, allocations: 287.3 kB / 0.6372 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003921/0.7082, allocations: 67.97 kB / 0.6373 GB, free: 10.21 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.001278/0.7095, allocations: 389.4 kB / 0.6377 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008033/0.7103, allocations: 161.9 kB / 0.6378 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/0.7274, allocations: 5.859 MB / 0.6435 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/0.7275, allocations: 16 kB / 0.6435 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.7275, allocations: 5.766 kB / 0.6435 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.59e-05/0.7276, allocations: 7.984 kB / 0.6436 GB, free: 3.754 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.02276/0.7503, allocations: 8.026 MB / 0.6514 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-05/0.7505, allocations: 3.984 kB / 0.6514 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.7518, allocations: 140.3 kB / 0.6515 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008456/0.7603, allocations: 2.521 MB / 0.654 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005028/0.7608, allocations: 27.98 kB / 0.654 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02601/0.7869, allocations: 10.32 MB / 0.6641 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7869, allocations: 3.938 kB / 0.6641 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/0.8061, allocations: 7.126 MB / 0.6711 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007874/0.8069, allocations: 282.7 kB / 0.6713 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006245/0.8076, allocations: 28 kB / 0.6714 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/0.8096, allocations: 199.8 kB / 0.6715 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009448/0.8106, allocations: 261.4 kB / 0.6718 GB, free: 6.504 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/0.8108, allocations: 39.88 kB / 0.6718 GB, free: 6.465 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002026/0.8129, allocations: 0.9984 MB / 0.6728 GB, free: 5.469 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8129, allocations: 0 / 0.6728 GB, free: 5.469 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003324/0.8162, allocations: 0.8544 MB / 0.6736 GB, free: 4.613 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.01969/0.8359, allocations: 7.737 MB / 0.6812 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01651/0.8525, allocations: 5.471 MB / 0.6865 GB, free: 7.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/0.8525, allocations: 0 / 0.6865 GB, free: 7.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006454/0.859, allocations: 2.178 MB / 0.6887 GB, free: 5.188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.8611, allocations: 149.3 kB / 0.6888 GB, free: 5.039 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03081/0.8919, allocations: 14.34 MB / 0.7028 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.893, allocations: 1.241 MB / 0.704 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00112/0.8942, allocations: 180.2 kB / 0.7042 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009698/0.8952, allocations: 0.6256 MB / 0.7048 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of SimCode: time 2.124e-06/0.8952, allocations: 0 / 0.7048 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08576/0.9809, allocations: 45.57 MB / 0.7493 GB, free: 6.766 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.9812, allocations: 197.8 kB / 0.7495 GB, free: 6.527 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.4/4.381, allocations: 0 / 0.7495 GB, free: 6.527 MB / 0.545 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) Environment - environmentSimulation: