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.001244/0.001244, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 239.3 MB, free: 4.605 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.00155/0.00155, allocations: 188.5 kB / 289.5 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4777/0.4777, allocations: 78.52 MB / 418.2 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001633, allocations: 75.88 kB / 497.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1455, allocations: 68.18 MB / 0.5524 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.2608/0.4063, allocations: 8.255 MB / 0.5604 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005781/0.4122, allocations: 2.659 MB / 0.563 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.4139, allocations: 13.25 kB / 0.563 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.4151, allocations: 335.8 kB / 0.5634 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.4189, allocations: 1.212 MB / 0.5645 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.4207, allocations: 0.7513 MB / 0.5653 GB, free: 34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00327/0.424, allocations: 2.439 MB / 0.5677 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000705/0.4248, allocations: 407.4 kB / 0.568 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.4262, allocations: 0.9225 MB / 0.5689 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.4277, allocations: 1.156 MB / 0.5701 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005106/0.4282, allocations: 187.6 kB / 0.5702 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.4292, allocations: 413.1 kB / 0.5706 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.4296, allocations: 485.7 kB / 0.5711 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009717/0.4306, allocations: 0.9143 MB / 0.572 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.4331, allocations: 2.306 MB / 0.5743 GB, free: 32.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4332, allocations: 4.5 kB / 0.5743 GB, free: 32.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4332, allocations: 4.594 kB / 0.5743 GB, free: 32.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.085e-05/0.4332, allocations: 2.859 kB / 0.5743 GB, free: 32.03 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.01414/0.4474, allocations: 3.836 MB / 0.578 GB, free: 30.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4474, allocations: 10.56 kB / 0.578 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/0.4525, allocations: 0.7492 MB / 0.5788 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.455, allocations: 1.18 MB / 0.5799 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/0.4554, allocations: 429.4 kB / 0.5803 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.4557, allocations: 109.4 kB / 0.5804 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.4584, allocations: 1.45 MB / 0.5818 GB, free: 28.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.4584, allocations: 0 / 0.5818 GB, free: 28.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.4586, allocations: 35.62 kB / 0.5819 GB, free: 28.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.4586, allocations: 22.12 kB / 0.5819 GB, free: 28.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/0.4617, allocations: 1.378 MB / 0.5832 GB, free: 28.49 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.009146/0.4709, allocations: 4.987 MB / 0.5881 GB, free: 25.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00864/0.4795, allocations: 2.962 MB / 0.591 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.482, allocations: 0.9287 MB / 0.5919 GB, free: 24.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.4821, allocations: 21.08 kB / 0.5919 GB, free: 24.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002393/0.4845, allocations: 1.081 MB / 0.593 GB, free: 23.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.048e-06/0.4846, allocations: 4.969 kB / 0.593 GB, free: 23.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.0407/0.5253, allocations: 9.448 MB / 0.6022 GB, free: 22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.5254, allocations: 142.6 kB / 0.6023 GB, free: 21.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/0.5279, allocations: 1.483 MB / 0.6038 GB, free: 21.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003482/0.5283, allocations: 52.16 kB / 0.6038 GB, free: 21.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.5287, allocations: 0.6131 MB / 0.6044 GB, free: 20.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004652/0.5291, allocations: 464.3 kB / 0.6049 GB, free: 20.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006001/0.5298, allocations: 330.9 kB / 0.6052 GB, free: 20.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.5298, allocations: 302.3 kB / 0.6055 GB, free: 19.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.5319, allocations: 0.9928 MB / 0.6065 GB, free: 19.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.5342, allocations: 1.193 MB / 0.6076 GB, free: 18.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0042/0.5384, allocations: 2.099 MB / 0.6097 GB, free: 17.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5384, allocations: 1.281 kB / 0.6097 GB, free: 17.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01251/0.5509, allocations: 4.369 MB / 0.6139 GB, free: 15.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.551, allocations: 14.81 kB / 0.614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.551, allocations: 3.438 kB / 0.614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00887/0.5599, allocations: 2.648 MB / 0.6165 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.5615, allocations: 315.5 kB / 0.6168 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/0.5673, allocations: 2.694 MB / 0.6195 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.5699, allocations: 268 kB / 0.6197 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.5701, allocations: 60.67 kB / 0.6198 GB, free: 9.727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002413/0.5725, allocations: 1.207 MB / 0.621 GB, free: 8.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001969/0.5745, allocations: 1.171 MB / 0.6221 GB, free: 7.297 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003794/0.5783, allocations: 2.085 MB / 0.6241 GB, free: 5.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.133e-06/0.5784, allocations: 0 / 0.6241 GB, free: 5.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.0114/0.5898, allocations: 4.346 MB / 0.6284 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5898, allocations: 8 kB / 0.6284 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5898, allocations: 4 kB / 0.6284 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008977/0.5988, allocations: 2.653 MB / 0.631 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.6004, allocations: 307.6 kB / 0.6313 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006328/0.6068, allocations: 2.696 MB / 0.6339 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.6093, allocations: 243.3 kB / 0.6342 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.6095, allocations: 66.41 kB / 0.6342 GB, free: 10.82 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.000423/0.6099, allocations: 263.9 kB / 0.6345 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/0.6103, allocations: 162.8 kB / 0.6346 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/0.6267, allocations: 4.824 MB / 0.6393 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.6268, allocations: 15.94 kB / 0.6393 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.6268, allocations: 0.5625 kB / 0.6393 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.313e-05/0.6268, allocations: 7.984 kB / 0.6394 GB, free: 5.52 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.02012/0.6469, allocations: 6.982 MB / 0.6462 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.647, allocations: 0 / 0.6462 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009314/0.6479, allocations: 148.5 kB / 0.6463 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007503/0.6555, allocations: 2.143 MB / 0.6484 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/0.6557, allocations: 28 kB / 0.6484 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02594/0.6816, allocations: 10.09 MB / 0.6583 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6817, allocations: 4 kB / 0.6583 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01936/0.7011, allocations: 6.001 MB / 0.6642 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006687/0.7018, allocations: 282.7 kB / 0.6644 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003649/0.7021, allocations: 28.75 kB / 0.6644 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/0.7039, allocations: 153 kB / 0.6646 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008165/0.7047, allocations: 253.4 kB / 0.6648 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.7049, allocations: 35.98 kB / 0.6649 GB, free: 11.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0017/0.7066, allocations: 1.014 MB / 0.6659 GB, free: 10.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7066, allocations: 0 / 0.6659 GB, free: 10.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002254/0.7088, allocations: 0.8583 MB / 0.6667 GB, free: 9.184 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.0003684/0.7092, allocations: 147.1 kB / 0.6668 GB, free: 9.031 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0165/0.7257, allocations: 4.942 MB / 0.6717 GB, free: 4.105 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.7258, allocations: 3.938 kB / 0.6717 GB, free: 4.102 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006412/0.7322, allocations: 1.942 MB / 0.6736 GB, free: 2.145 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.7336, allocations: 153.9 kB / 0.6737 GB, free: 1.992 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.7394, allocations: 3.15 MB / 0.6768 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.7401, allocations: 1.249 MB / 0.678 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009407/0.7411, allocations: 187.6 kB / 0.6782 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.7415, allocations: 103.4 kB / 0.6783 GB, free: 13.31 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7415, allocations: 0 / 0.6783 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Templates: time 0.05913/0.8006, allocations: 36.4 MB / 0.7138 GB, free: 9.066 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)