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: translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.322/1.322, allocations: 222.9 MB / 239 MB, free: 4.711 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.001435/0.001435, allocations: 196.5 kB / 289.3 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4334/0.4334, allocations: 78.51 MB / 417.9 MB, free: 3.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 75.89 kB / 496.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1476, allocations: 68.18 MB / 0.5519 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.2623/0.4099, allocations: 8.576 MB / 0.5603 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005363/0.4153, allocations: 2.702 MB / 0.5629 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.417, allocations: 14.38 kB / 0.5629 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.4181, allocations: 268.7 kB / 0.5632 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.4215, allocations: 1.071 MB / 0.5642 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.4234, allocations: 0.6994 MB / 0.5649 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003238/0.4266, allocations: 2.438 MB / 0.5673 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005914/0.4272, allocations: 401.4 kB / 0.5677 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.4285, allocations: 0.9297 MB / 0.5686 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.4297, allocations: 1.159 MB / 0.5697 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.4299, allocations: 186.9 kB / 0.5699 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007197/0.4306, allocations: 410.4 kB / 0.5703 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.4309, allocations: 483.7 kB / 0.5707 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006822/0.4316, allocations: 0.9302 MB / 0.5716 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.4336, allocations: 2.308 MB / 0.5739 GB, free: 31.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4337, allocations: 0 / 0.5739 GB, free: 31.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4337, allocations: 0 / 0.5739 GB, free: 31.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.591e-05/0.4337, allocations: 0 / 0.5739 GB, free: 31.98 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.01316/0.4469, allocations: 3.844 MB / 0.5777 GB, free: 30.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4469, allocations: 8.562 kB / 0.5777 GB, free: 30.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00422/0.4512, allocations: 0.7508 MB / 0.5784 GB, free: 30.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.4531, allocations: 1.181 MB / 0.5795 GB, free: 29.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.4535, allocations: 425.2 kB / 0.58 GB, free: 29.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.4537, allocations: 107.3 kB / 0.5801 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.4563, allocations: 1.45 MB / 0.5815 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.4563, allocations: 6.531 kB / 0.5815 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.4564, allocations: 39.69 kB / 0.5815 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.4564, allocations: 25 kB / 0.5815 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.4593, allocations: 1.373 MB / 0.5829 GB, free: 28.36 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.008125/0.4674, allocations: 4.988 MB / 0.5877 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007957/0.4754, allocations: 2.962 MB / 0.5906 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.4775, allocations: 0.9244 MB / 0.5915 GB, free: 23.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.4777, allocations: 20.08 kB / 0.5916 GB, free: 23.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/0.48, allocations: 1.081 MB / 0.5926 GB, free: 23.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.106e-06/0.48, allocations: 0 / 0.5926 GB, free: 23.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04187/0.5219, allocations: 9.443 MB / 0.6018 GB, free: 21.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.522, allocations: 146.6 kB / 0.602 GB, free: 21.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.5247, allocations: 1.488 MB / 0.6034 GB, free: 21.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004488/0.5252, allocations: 53.67 kB / 0.6035 GB, free: 21.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.5256, allocations: 0.6119 MB / 0.6041 GB, free: 20.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000501/0.5261, allocations: 462.2 kB / 0.6045 GB, free: 20.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006532/0.5268, allocations: 329.1 kB / 0.6048 GB, free: 20.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.5268, allocations: 306.5 kB / 0.6051 GB, free: 19.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.5289, allocations: 0.9865 MB / 0.6061 GB, free: 19.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.5311, allocations: 1.192 MB / 0.6073 GB, free: 18.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004129/0.5352, allocations: 2.103 MB / 0.6093 GB, free: 17.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.5353, allocations: 5.438 kB / 0.6093 GB, free: 17.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01231/0.5476, allocations: 4.369 MB / 0.6136 GB, free: 15.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.5477, allocations: 13.53 kB / 0.6136 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.5477, allocations: 4.25 kB / 0.6136 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008829/0.5565, allocations: 2.646 MB / 0.6162 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.5583, allocations: 315.6 kB / 0.6165 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/0.5639, allocations: 2.694 MB / 0.6191 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.5668, allocations: 267.1 kB / 0.6194 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/0.567, allocations: 63.97 kB / 0.6194 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002311/0.5693, allocations: 1.199 MB / 0.6206 GB, free: 8.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001842/0.5712, allocations: 1.18 MB / 0.6218 GB, free: 7.441 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003457/0.5746, allocations: 2.085 MB / 0.6238 GB, free: 5.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.5747, allocations: 0 / 0.6238 GB, free: 5.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01083/0.5855, allocations: 4.35 MB / 0.628 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5856, allocations: 8 kB / 0.628 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5856, allocations: 4 kB / 0.628 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008765/0.5944, allocations: 2.646 MB / 0.6306 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.5961, allocations: 311.5 kB / 0.6309 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/0.6023, allocations: 2.699 MB / 0.6336 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/0.6052, allocations: 239.3 kB / 0.6338 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.6054, allocations: 63.98 kB / 0.6339 GB, free: 10.96 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 ($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.0004763/0.6059, allocations: 259.9 kB / 0.6341 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.6063, allocations: 161.9 kB / 0.6343 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.622, allocations: 4.824 MB / 0.639 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/0.6221, allocations: 12 kB / 0.639 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.6221, allocations: 3.984 kB / 0.639 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/0.6221, allocations: 8.641 kB / 0.639 GB, free: 5.664 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.01962/0.6418, allocations: 6.985 MB / 0.6458 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/0.6418, allocations: 6.438 kB / 0.6458 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.6429, allocations: 143.8 kB / 0.646 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007596/0.6505, allocations: 2.143 MB / 0.648 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000428/0.651, allocations: 31.98 kB / 0.6481 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0266/0.6776, allocations: 10.08 MB / 0.6579 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6776, allocations: 1.062 kB / 0.6579 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/0.6976, allocations: 6.006 MB / 0.6638 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.6987, allocations: 274.7 kB / 0.6641 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008275/0.6995, allocations: 32 kB / 0.6641 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/0.7019, allocations: 151.8 kB / 0.6642 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/0.7031, allocations: 257.4 kB / 0.6645 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/0.7034, allocations: 35.98 kB / 0.6645 GB, free: 11.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002262/0.7057, allocations: 1.006 MB / 0.6655 GB, free: 10.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7057, allocations: 4 kB / 0.6655 GB, free: 10.19 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003571/0.7093, allocations: 0.8544 MB / 0.6663 GB, free: 9.336 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 (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.0004101/0.7097, allocations: 151.9 kB / 0.6665 GB, free: 9.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01586/0.7256, allocations: 4.946 MB / 0.6713 GB, free: 4.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.7256, allocations: 0 / 0.6713 GB, free: 4.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006314/0.7319, allocations: 1.941 MB / 0.6732 GB, free: 2.293 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.7339, allocations: 157.6 kB / 0.6733 GB, free: 2.141 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006497/0.7404, allocations: 3.677 MB / 0.6769 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.7412, allocations: 1.245 MB / 0.6782 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001041/0.7423, allocations: 188.5 kB / 0.6783 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.7427, allocations: 95.42 kB / 0.6784 GB, free: 12.95 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.7427, allocations: 3.938 kB / 0.6784 GB, free: 12.94 MB / 494.1 MB Notification: Performance of Templates: time 0.05911/0.8018, allocations: 35.09 MB / 0.7127 GB, free: 10.01 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)