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.001/0.001, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.226/1.226, allocations: 222.9 MB / 238.8 MB, free: 4.652 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.001138/0.001138, allocations: 192.4 kB / 289.1 MB, free: 2.398 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4177/0.4177, allocations: 78.52 MB / 417.8 MB, free: 3.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 71.89 kB / 496.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1181, allocations: 68.18 MB / 0.5517 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.1992/0.3174, allocations: 8.576 MB / 0.5601 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.3212, allocations: 2.714 MB / 0.5627 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005903/0.3218, allocations: 15.34 kB / 0.5627 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007682/0.3226, allocations: 260.7 kB / 0.563 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.3248, allocations: 1.091 MB / 0.5641 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3261, allocations: 0.6967 MB / 0.5647 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.328, allocations: 2.317 MB / 0.567 GB, free: 33.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004369/0.3285, allocations: 370.6 kB / 0.5674 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008248/0.3293, allocations: 0.8218 MB / 0.5682 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008075/0.3301, allocations: 1.096 MB / 0.5692 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.3303, allocations: 105.7 kB / 0.5693 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005668/0.3309, allocations: 323.1 kB / 0.5696 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.3312, allocations: 401.6 kB / 0.57 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005841/0.3318, allocations: 0.8443 MB / 0.5708 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.3333, allocations: 2.242 MB / 0.573 GB, free: 32.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3333, allocations: 0 / 0.573 GB, free: 32.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3333, allocations: 3.562 kB / 0.573 GB, free: 32.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.3334, allocations: 0 / 0.573 GB, free: 32.02 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.01239/0.3458, allocations: 3.843 MB / 0.5768 GB, free: 30.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3458, allocations: 12.09 kB / 0.5768 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004263/0.3501, allocations: 0.748 MB / 0.5775 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.3522, allocations: 1.181 MB / 0.5787 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.3526, allocations: 423.4 kB / 0.5791 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.3528, allocations: 106.6 kB / 0.5792 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.3555, allocations: 1.451 MB / 0.5806 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.3555, allocations: 0 / 0.5806 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.3556, allocations: 38.53 kB / 0.5806 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.3557, allocations: 26 kB / 0.5807 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/0.3585, allocations: 1.377 MB / 0.582 GB, free: 28.96 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.007467/0.366, allocations: 4.991 MB / 0.5869 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007646/0.3737, allocations: 2.958 MB / 0.5898 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.3754, allocations: 0.9309 MB / 0.5907 GB, free: 24.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.3755, allocations: 26.17 kB / 0.5907 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002016/0.3775, allocations: 1.08 MB / 0.5918 GB, free: 24.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.766e-06/0.3775, allocations: 0 / 0.5918 GB, free: 24.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.0374/0.415, allocations: 9.438 MB / 0.601 GB, free: 22.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.415, allocations: 146.8 kB / 0.6011 GB, free: 22.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.4177, allocations: 1.493 MB / 0.6026 GB, free: 21.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.4179, allocations: 51.67 kB / 0.6026 GB, free: 21.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.4183, allocations: 0.6068 MB / 0.6032 GB, free: 21.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.4187, allocations: 460.7 kB / 0.6037 GB, free: 20.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005888/0.4193, allocations: 331.3 kB / 0.604 GB, free: 20.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.4193, allocations: 303.1 kB / 0.6043 GB, free: 20.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/0.4213, allocations: 0.9915 MB / 0.6052 GB, free: 20.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.4233, allocations: 1.187 MB / 0.6064 GB, free: 19.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003735/0.4271, allocations: 2.103 MB / 0.6084 GB, free: 18.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.4271, allocations: 1.375 kB / 0.6084 GB, free: 18.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01089/0.438, allocations: 4.372 MB / 0.6127 GB, free: 16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.438, allocations: 10.22 kB / 0.6127 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4381, allocations: 4.25 kB / 0.6127 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007982/0.446, allocations: 2.645 MB / 0.6153 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.4474, allocations: 319.5 kB / 0.6156 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/0.4527, allocations: 2.694 MB / 0.6183 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.4549, allocations: 262.3 kB / 0.6185 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.4551, allocations: 67.97 kB / 0.6186 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002221/0.4573, allocations: 1.192 MB / 0.6197 GB, free: 9.477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001842/0.4592, allocations: 1.183 MB / 0.6209 GB, free: 8.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003411/0.4626, allocations: 2.089 MB / 0.6229 GB, free: 6.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.529e-06/0.4626, allocations: 0 / 0.6229 GB, free: 6.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01046/0.4731, allocations: 4.354 MB / 0.6272 GB, free: 1.746 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4731, allocations: 4 kB / 0.6272 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4732, allocations: 7.984 kB / 0.6272 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008298/0.4815, allocations: 2.637 MB / 0.6298 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.4832, allocations: 311.5 kB / 0.6301 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006078/0.4893, allocations: 2.695 MB / 0.6327 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.4917, allocations: 236.2 kB / 0.6329 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.4919, allocations: 68.47 kB / 0.633 GB, free: 11.77 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.0003916/0.4923, allocations: 260 kB / 0.6332 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/0.4927, allocations: 161.9 kB / 0.6334 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/0.5078, allocations: 4.824 MB / 0.6381 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.5079, allocations: 19.98 kB / 0.6381 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.5079, allocations: 0.5 kB / 0.6381 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.5079, allocations: 7.984 kB / 0.6381 GB, free: 6.469 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.01778/0.5257, allocations: 6.982 MB / 0.6449 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.5258, allocations: 0.5625 kB / 0.6449 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009124/0.5267, allocations: 144.7 kB / 0.6451 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007015/0.5337, allocations: 2.143 MB / 0.6472 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002181/0.534, allocations: 27.98 kB / 0.6472 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/0.5562, allocations: 9.185 MB / 0.6562 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5562, allocations: 4 kB / 0.6562 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01748/0.5737, allocations: 6.005 MB / 0.662 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/0.5744, allocations: 278.7 kB / 0.6623 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.5747, allocations: 26.06 kB / 0.6623 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/0.5763, allocations: 156.7 kB / 0.6625 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009081/0.5773, allocations: 253.3 kB / 0.6627 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.5774, allocations: 35.98 kB / 0.6628 GB, free: 12.92 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001635/0.579, allocations: 1.01 MB / 0.6637 GB, free: 11.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.579, allocations: 4 kB / 0.6637 GB, free: 11.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00222/0.5813, allocations: 0.8505 MB / 0.6646 GB, free: 11.06 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.000365/0.5816, allocations: 156.5 kB / 0.6647 GB, free: 10.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01459/0.5962, allocations: 4.828 MB / 0.6694 GB, free: 6.086 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.5963, allocations: 0 / 0.6694 GB, free: 6.086 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005777/0.6021, allocations: 1.896 MB / 0.6713 GB, free: 4.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.6034, allocations: 154 kB / 0.6714 GB, free: 4.027 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/0.6091, allocations: 3.674 MB / 0.675 GB, free: 396 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008152/0.6099, allocations: 1.245 MB / 0.6762 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009318/0.6109, allocations: 195.4 kB / 0.6764 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.6112, allocations: 91.41 kB / 0.6765 GB, free: 14.84 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6112, allocations: 0 / 0.6765 GB, free: 14.84 MB / 494.1 MB Notification: Performance of Templates: time 0.04362/0.6549, allocations: 32.94 MB / 0.7087 GB, free: 14.05 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)