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: translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001033/0.001034, allocations: 117 kB / 16.37 MB, free: 6.004 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.312/1.312, allocations: 222.9 MB / 240 MB, free: 4.508 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.001274/0.001274, allocations: 192.5 kB / 290.3 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4936/0.4936, allocations: 91.9 MB / 432.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 75.88 kB / 0.5033 GB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2949, allocations: 71.27 MB / 0.5729 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.006447/0.3014, allocations: 8.284 MB / 0.581 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.306, allocations: 2.661 MB / 0.5836 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.3072, allocations: 13.81 kB / 0.5836 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.308, allocations: 332.7 kB / 0.5839 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.3105, allocations: 1.136 MB / 0.585 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.312, allocations: 0.7487 MB / 0.5857 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002058/0.3141, allocations: 2.311 MB / 0.588 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.3146, allocations: 401.8 kB / 0.5884 GB, free: 27.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.3156, allocations: 0.9147 MB / 0.5893 GB, free: 26.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.3169, allocations: 1.153 MB / 0.5904 GB, free: 26.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000341/0.3172, allocations: 185.4 kB / 0.5906 GB, free: 26.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000793/0.318, allocations: 418.1 kB / 0.591 GB, free: 26.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.3184, allocations: 482.4 kB / 0.5914 GB, free: 26.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000762/0.3191, allocations: 0.9117 MB / 0.5923 GB, free: 25.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.3217, allocations: 2.333 MB / 0.5946 GB, free: 24.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.3218, allocations: 1.281 kB / 0.5946 GB, free: 24.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3218, allocations: 0 / 0.5946 GB, free: 24.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.379e-05/0.3218, allocations: 0 / 0.5946 GB, free: 24.43 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.01317/0.335, allocations: 3.628 MB / 0.5982 GB, free: 22.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3351, allocations: 9.531 kB / 0.5982 GB, free: 22.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/0.3399, allocations: 0.7523 MB / 0.5989 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.3422, allocations: 1.179 MB / 0.6001 GB, free: 22.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.3426, allocations: 426.4 kB / 0.6005 GB, free: 21.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.3428, allocations: 111.8 kB / 0.6006 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/0.3457, allocations: 1.456 MB / 0.602 GB, free: 21.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.3458, allocations: 0 / 0.602 GB, free: 21.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.3459, allocations: 37.2 kB / 0.602 GB, free: 20.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.3459, allocations: 23.25 kB / 0.602 GB, free: 20.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/0.349, allocations: 1.379 MB / 0.6034 GB, free: 20.53 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.009115/0.3581, allocations: 4.962 MB / 0.6082 GB, free: 17.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007741/0.3659, allocations: 2.962 MB / 0.6111 GB, free: 16.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.368, allocations: 0.9281 MB / 0.612 GB, free: 16.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.3682, allocations: 21.58 kB / 0.6121 GB, free: 16.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002266/0.3705, allocations: 1.077 MB / 0.6131 GB, free: 15.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.116e-06/0.3705, allocations: 0 / 0.6131 GB, free: 15.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03718/0.4077, allocations: 9.442 MB / 0.6223 GB, free: 11.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.4078, allocations: 141.5 kB / 0.6225 GB, free: 11.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/0.4104, allocations: 1.495 MB / 0.6239 GB, free: 9.652 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003747/0.4108, allocations: 53.69 kB / 0.624 GB, free: 9.594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.4112, allocations: 0.6083 MB / 0.6246 GB, free: 8.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006134/0.4118, allocations: 461.5 kB / 0.625 GB, free: 8.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008361/0.4126, allocations: 335.4 kB / 0.6253 GB, free: 8.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.4127, allocations: 301.1 kB / 0.6256 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.4145, allocations: 0.9925 MB / 0.6266 GB, free: 6.898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.4165, allocations: 1.187 MB / 0.6277 GB, free: 5.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/0.4203, allocations: 2.105 MB / 0.6298 GB, free: 3.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.4203, allocations: 0 / 0.6298 GB, free: 3.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01162/0.432, allocations: 4.377 MB / 0.6341 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.432, allocations: 11.94 kB / 0.6341 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4321, allocations: 4 kB / 0.6341 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009285/0.4413, allocations: 2.636 MB / 0.6367 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.4431, allocations: 315.5 kB / 0.637 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006607/0.4498, allocations: 2.699 MB / 0.6396 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/0.4526, allocations: 262.3 kB / 0.6399 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003592/0.453, allocations: 67.97 kB / 0.6399 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002958/0.456, allocations: 1.191 MB / 0.6411 GB, free: 7.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002431/0.4584, allocations: 1.179 MB / 0.6422 GB, free: 6.688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004435/0.4629, allocations: 2.085 MB / 0.6443 GB, free: 4.559 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.368e-05/0.4629, allocations: 4 kB / 0.6443 GB, free: 4.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.0127/0.4756, allocations: 4.35 MB / 0.6485 GB, free: 192 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4757, allocations: 4 kB / 0.6485 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4757, allocations: 8 kB / 0.6485 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008865/0.4846, allocations: 2.648 MB / 0.6511 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.4862, allocations: 307.5 kB / 0.6514 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006204/0.4924, allocations: 2.699 MB / 0.654 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/0.4951, allocations: 238.6 kB / 0.6543 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003375/0.4954, allocations: 63.97 kB / 0.6543 GB, free: 10.2 MB / 462.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.0006257/0.4961, allocations: 260.8 kB / 0.6546 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006756/0.4968, allocations: 161.9 kB / 0.6547 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/0.5118, allocations: 4.823 MB / 0.6594 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.5119, allocations: 16 kB / 0.6595 GB, free: 4.914 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.5119, allocations: 0 / 0.6595 GB, free: 4.914 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.806e-05/0.5119, allocations: 3.984 kB / 0.6595 GB, free: 4.91 MB / 462.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.01971/0.5316, allocations: 6.988 MB / 0.6663 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.5317, allocations: 0 / 0.6663 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.5327, allocations: 147.8 kB / 0.6664 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007288/0.54, allocations: 2.134 MB / 0.6685 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003861/0.5405, allocations: 28 kB / 0.6685 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02564/0.5661, allocations: 10.07 MB / 0.6784 GB, free: 1.254 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5662, allocations: 0 / 0.6784 GB, free: 1.254 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01857/0.5848, allocations: 6.006 MB / 0.6842 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007703/0.5856, allocations: 278.7 kB / 0.6845 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006989/0.5863, allocations: 28 kB / 0.6845 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/0.5884, allocations: 155.8 kB / 0.6847 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009038/0.5893, allocations: 253.4 kB / 0.6849 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/0.5895, allocations: 39.98 kB / 0.685 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001802/0.5913, allocations: 1.01 MB / 0.686 GB, free: 9.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5913, allocations: 0 / 0.686 GB, free: 9.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002573/0.5939, allocations: 0.8505 MB / 0.6868 GB, free: 8.594 MB / 494.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.0003745/0.5943, allocations: 158.6 kB / 0.6869 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01554/0.6098, allocations: 4.893 MB / 0.6917 GB, free: 3.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.6099, allocations: 0 / 0.6917 GB, free: 3.543 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006523/0.6164, allocations: 1.942 MB / 0.6936 GB, free: 1.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.6183, allocations: 149.3 kB / 0.6938 GB, free: 1.434 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.6246, allocations: 3.121 MB / 0.6968 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000907/0.6256, allocations: 1.245 MB / 0.698 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00103/0.6266, allocations: 190 kB / 0.6982 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.6271, allocations: 103.4 kB / 0.6983 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.6271, allocations: 0 / 0.6983 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.0551/0.6822, allocations: 36.4 MB / 0.7338 GB, free: 8.336 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)