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.001238/0.001238, allocations: 100.1 kB / 15.88 MB, free: 12 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.296/1.296, allocations: 222.9 MB / 239.5 MB, free: 4.742 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.001216/0.001216, allocations: 188.5 kB / 289.8 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5207/0.5207, allocations: 91.9 MB / 431.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 71.89 kB / 0.5019 GB, free: 8.148 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3019, allocations: 71.26 MB / 0.5714 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.006354/0.3083, allocations: 8.621 MB / 0.5799 GB, free: 31.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004315/0.3126, allocations: 2.715 MB / 0.5825 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009883/0.3136, allocations: 13.22 kB / 0.5825 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007629/0.3144, allocations: 265.2 kB / 0.5828 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.3167, allocations: 1.016 MB / 0.5838 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.318, allocations: 0.7022 MB / 0.5845 GB, free: 28.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.3198, allocations: 2.171 MB / 0.5866 GB, free: 27.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004534/0.3202, allocations: 360.3 kB / 0.5869 GB, free: 27.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008873/0.3211, allocations: 0.8286 MB / 0.5877 GB, free: 26.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.3221, allocations: 1.071 MB / 0.5888 GB, free: 26.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.3224, allocations: 106.7 kB / 0.5889 GB, free: 26.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.3231, allocations: 332.3 kB / 0.5892 GB, free: 26.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.3234, allocations: 395.9 kB / 0.5896 GB, free: 25.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.3241, allocations: 0.843 MB / 0.5904 GB, free: 25.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.3253, allocations: 1.766 MB / 0.5921 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3253, allocations: 0 / 0.5921 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3253, allocations: 0 / 0.5921 GB, free: 24.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.146e-05/0.3254, allocations: 4 kB / 0.5921 GB, free: 24.68 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.01272/0.3381, allocations: 3.629 MB / 0.5957 GB, free: 23.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3381, allocations: 13.5 kB / 0.5957 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.343, allocations: 0.7522 MB / 0.5964 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.3452, allocations: 1.178 MB / 0.5976 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.3456, allocations: 428.6 kB / 0.598 GB, free: 21.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.3458, allocations: 106.9 kB / 0.5981 GB, free: 21.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.3489, allocations: 1.441 MB / 0.5995 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3489, allocations: 4 kB / 0.5995 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.349, allocations: 40.81 kB / 0.5995 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.3491, allocations: 22.56 kB / 0.5995 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002939/0.352, allocations: 1.377 MB / 0.6009 GB, free: 20.79 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.008906/0.3609, allocations: 4.98 MB / 0.6058 GB, free: 17.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008161/0.3691, allocations: 2.971 MB / 0.6087 GB, free: 16.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.371, allocations: 0.9196 MB / 0.6096 GB, free: 16.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.3711, allocations: 28.31 kB / 0.6096 GB, free: 16.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/0.3733, allocations: 1.075 MB / 0.6106 GB, free: 15.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.785e-06/0.3733, allocations: 0 / 0.6106 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03739/0.4107, allocations: 9.444 MB / 0.6199 GB, free: 12.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.4108, allocations: 155 kB / 0.62 GB, free: 12.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.413, allocations: 1.484 MB / 0.6215 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000325/0.4133, allocations: 49.7 kB / 0.6215 GB, free: 11.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.4137, allocations: 0.6083 MB / 0.6221 GB, free: 10.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.4141, allocations: 461.5 kB / 0.6225 GB, free: 9.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000537/0.4146, allocations: 335.4 kB / 0.6229 GB, free: 9.617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.4147, allocations: 301.1 kB / 0.6231 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.4165, allocations: 0.9886 MB / 0.6241 GB, free: 8.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.4184, allocations: 1.194 MB / 0.6253 GB, free: 7.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003641/0.4221, allocations: 2.097 MB / 0.6273 GB, free: 4.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.4221, allocations: 0 / 0.6273 GB, free: 4.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01071/0.4328, allocations: 4.373 MB / 0.6316 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4329, allocations: 11.94 kB / 0.6316 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4329, allocations: 8 kB / 0.6316 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00898/0.4419, allocations: 2.644 MB / 0.6342 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.4436, allocations: 311.5 kB / 0.6345 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006311/0.4499, allocations: 2.699 MB / 0.6371 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/0.4526, allocations: 262.3 kB / 0.6374 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.4529, allocations: 63.98 kB / 0.6374 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002661/0.4556, allocations: 1.199 MB / 0.6386 GB, free: 9.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002268/0.4578, allocations: 1.175 MB / 0.6398 GB, free: 8.109 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004184/0.462, allocations: 2.085 MB / 0.6418 GB, free: 5.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.464e-06/0.4621, allocations: 4 kB / 0.6418 GB, free: 5.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01223/0.4743, allocations: 4.35 MB / 0.646 GB, free: 1.613 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4744, allocations: 17.97 kB / 0.6461 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.4744, allocations: 11.98 kB / 0.6461 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00904/0.4834, allocations: 2.644 MB / 0.6487 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.4851, allocations: 307.5 kB / 0.6489 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0062/0.4913, allocations: 2.691 MB / 0.6516 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.4939, allocations: 238.6 kB / 0.6518 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.4941, allocations: 63.98 kB / 0.6519 GB, free: 11.62 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.0004169/0.4945, allocations: 273.3 kB / 0.6521 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.4948, allocations: 161.9 kB / 0.6523 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.5102, allocations: 4.816 MB / 0.657 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.5102, allocations: 16 kB / 0.657 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.5103, allocations: 3.984 kB / 0.657 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/0.5103, allocations: 3.984 kB / 0.657 GB, free: 6.324 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.01897/0.5293, allocations: 6.989 MB / 0.6638 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.5293, allocations: 3.984 kB / 0.6638 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009775/0.5303, allocations: 139.8 kB / 0.664 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007343/0.5377, allocations: 2.146 MB / 0.6661 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003025/0.538, allocations: 27.98 kB / 0.6661 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02315/0.5612, allocations: 9.186 MB / 0.6751 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5612, allocations: 7.938 kB / 0.6751 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0184/0.5796, allocations: 5.993 MB / 0.6809 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007498/0.5804, allocations: 282.7 kB / 0.6812 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/0.5809, allocations: 27.94 kB / 0.6812 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/0.5826, allocations: 151.8 kB / 0.6814 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008374/0.5835, allocations: 257.2 kB / 0.6816 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.5836, allocations: 35.98 kB / 0.6816 GB, free: 12.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001698/0.5853, allocations: 1.014 MB / 0.6826 GB, free: 11.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5853, allocations: 3.938 kB / 0.6826 GB, free: 11.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002531/0.5879, allocations: 0.8544 MB / 0.6835 GB, free: 10.89 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.0003714/0.5883, allocations: 156 kB / 0.6836 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01526/0.6035, allocations: 4.816 MB / 0.6883 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.6036, allocations: 0 / 0.6883 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006207/0.6098, allocations: 1.902 MB / 0.6902 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.6114, allocations: 143.9 kB / 0.6903 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006212/0.6177, allocations: 3.733 MB / 0.694 GB, free: 84 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/0.6185, allocations: 1.245 MB / 0.6952 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/0.6192, allocations: 103.4 kB / 0.6953 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.6192, allocations: 0 / 0.6953 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.03707/0.6562, allocations: 26.53 MB / 0.7212 GB, free: 4.176 MB / 0.5137 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)