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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009866, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.352/1.352, allocations: 223.2 MB / 238.9 MB, free: 5.504 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.00108/0.00108, allocations: 189 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4651/0.4651, allocations: 78.53 MB / 419.8 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003552, allocations: 12 kB / 499.8 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 69.35 MB / 0.5558 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.2284/0.3624, allocations: 7.202 MB / 0.5628 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005581/0.368, allocations: 2.615 MB / 0.5654 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.3697, allocations: 22.44 kB / 0.5654 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.3708, allocations: 229.4 kB / 0.5656 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.3741, allocations: 1.074 MB / 0.5666 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.3759, allocations: 0.6045 MB / 0.5672 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.3785, allocations: 1.508 MB / 0.5687 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005399/0.3791, allocations: 337.2 kB / 0.569 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.3802, allocations: 0.7972 MB / 0.5698 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009797/0.3811, allocations: 1 MB / 0.5708 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.3813, allocations: 92.47 kB / 0.5709 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005957/0.3819, allocations: 284.9 kB / 0.5711 GB, free: 35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.3822, allocations: 366.6 kB / 0.5715 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.3824, allocations: 292 kB / 0.5718 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.3836, allocations: 1.683 MB / 0.5734 GB, free: 34.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.3836, allocations: 2.875 kB / 0.5734 GB, free: 34.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3836, allocations: 0 / 0.5734 GB, free: 34.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.3837, allocations: 0 / 0.5734 GB, free: 34.15 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.01248/0.3962, allocations: 3.638 MB / 0.577 GB, free: 32.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3962, allocations: 8.75 kB / 0.577 GB, free: 32.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005298/0.3968, allocations: 155.5 kB / 0.5771 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/0.4016, allocations: 0.756 MB / 0.5779 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.4038, allocations: 1.128 MB / 0.579 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003523/0.4042, allocations: 438.3 kB / 0.5794 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.4044, allocations: 113.4 kB / 0.5795 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.4071, allocations: 1.515 MB / 0.581 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.4071, allocations: 3.953 kB / 0.581 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.4073, allocations: 39.84 kB / 0.581 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.4073, allocations: 23.84 kB / 0.581 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.4101, allocations: 1.467 MB / 0.5825 GB, free: 30.4 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.008896/0.419, allocations: 5.187 MB / 0.5875 GB, free: 27.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009148/0.4282, allocations: 3.545 MB / 0.591 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.4285, allocations: 22.45 kB / 0.591 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002593/0.4311, allocations: 1.164 MB / 0.5922 GB, free: 25.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.587e-06/0.4311, allocations: 0 / 0.5922 GB, free: 25.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04329/0.4744, allocations: 11.36 MB / 0.6033 GB, free: 23.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.4746, allocations: 142.9 kB / 0.6034 GB, free: 23.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.4775, allocations: 1.478 MB / 0.6048 GB, free: 23.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004255/0.478, allocations: 51.27 kB / 0.6049 GB, free: 23.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.4785, allocations: 0.6122 MB / 0.6055 GB, free: 22.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005924/0.4791, allocations: 462.5 kB / 0.6059 GB, free: 22.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.4792, allocations: 35.62 kB / 0.606 GB, free: 22.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4793, allocations: 375.1 kB / 0.6063 GB, free: 21.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.4817, allocations: 1.061 MB / 0.6073 GB, free: 21.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.4841, allocations: 1.252 MB / 0.6086 GB, free: 20.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.4866, allocations: 1.142 MB / 0.6097 GB, free: 20.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.4866, allocations: 1.062 kB / 0.6097 GB, free: 20.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.0176/0.5042, allocations: 6.431 MB / 0.616 GB, free: 16.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002634/0.5045, allocations: 1.344 MB / 0.6173 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5045, allocations: 0 / 0.6173 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008946/0.5135, allocations: 3.037 MB / 0.6202 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.5152, allocations: 312 kB / 0.6205 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005863/0.521, allocations: 3.011 MB / 0.6235 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.5237, allocations: 318.2 kB / 0.6238 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.5239, allocations: 60.67 kB / 0.6238 GB, free: 8.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.5239, allocations: 6.656 kB / 0.6238 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01563/0.5395, allocations: 6.223 MB / 0.6299 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.5396, allocations: 7.953 kB / 0.6299 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008804/0.5484, allocations: 3.012 MB / 0.6329 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.5501, allocations: 307.6 kB / 0.6332 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007035/0.5572, allocations: 2.992 MB / 0.6361 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.5599, allocations: 291.4 kB / 0.6364 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.5601, allocations: 64.53 kB / 0.6364 GB, free: 11.1 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008879/0.561, allocations: 384.7 kB / 0.6368 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.5613, allocations: 165.9 kB / 0.637 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01734/0.5787, allocations: 5.875 MB / 0.6427 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.5787, allocations: 12 kB / 0.6427 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5787, allocations: 0 / 0.6427 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-05/0.5788, allocations: 3.984 kB / 0.6427 GB, free: 4.637 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.02132/0.6001, allocations: 8.088 MB / 0.6506 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.6002, allocations: 2.906 kB / 0.6506 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.6012, allocations: 147.8 kB / 0.6507 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008315/0.6095, allocations: 2.518 MB / 0.6532 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003256/0.6099, allocations: 24 kB / 0.6532 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02655/0.6364, allocations: 10.89 MB / 0.6639 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6365, allocations: 0 / 0.6639 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0202/0.6567, allocations: 7.16 MB / 0.6709 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008992/0.6576, allocations: 280.7 kB / 0.6711 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00037/0.658, allocations: 24 kB / 0.6711 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.6598, allocations: 203.8 kB / 0.6713 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007669/0.6605, allocations: 261.2 kB / 0.6716 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.986e-05/0.6606, allocations: 35.98 kB / 0.6716 GB, free: 6.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001615/0.6623, allocations: 1.002 MB / 0.6726 GB, free: 5.672 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6623, allocations: 0 / 0.6726 GB, free: 5.672 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002549/0.6648, allocations: 0.8544 MB / 0.6734 GB, free: 4.816 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02038/0.6852, allocations: 7.893 MB / 0.6811 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01641/0.7017, allocations: 5.465 MB / 0.6865 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.7017, allocations: 0 / 0.6865 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006562/0.7083, allocations: 2.19 MB / 0.6886 GB, free: 5.223 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.7095, allocations: 125.9 kB / 0.6887 GB, free: 5.098 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008391/0.7179, allocations: 6.468 MB / 0.6951 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009038/0.7188, allocations: 1.284 MB / 0.6963 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008871/0.7197, allocations: 188.1 kB / 0.6965 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008254/0.7206, allocations: 0.6131 MB / 0.6971 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.7206, allocations: 0 / 0.6971 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07119/0.7918, allocations: 44.08 MB / 0.7401 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.792, allocations: 199.5 kB / 0.7403 GB, free: 476 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.068/3.86, allocations: 4 kB / 0.7403 GB, free: 472 kB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1) Environment - environmentSimulation: