Running command: translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterElectrolysis") Notification: Performance of loadModel(Chemical): time 1.934/1.934, allocations: 215.4 MB / 227.5 MB, free: 352 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.768e-05, allocations: 4 kB / 280.4 MB, free: 11.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08324/0.08329, allocations: 50.02 MB / 330.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.4377, allocations: 90.78 MB / 421.2 MB, free: 7.234 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.438, allocations: 67.53 kB / 421.3 MB, free: 7.203 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System O2_gas.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$O2_gas. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2_gas.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2_gas. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:3528:7-3528:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System anode.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$anode. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:3528:7-3528:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System cathode.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$cathode. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:3528:7-3528:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System water.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$water. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System electrone.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.ElectronTransfer. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System electrone1.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.ElectronTransfer. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:3528:7-3528:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System air.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$air. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System liquidWater.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$liquidWater. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.2203/0.6583, allocations: 57.68 MB / 479 MB, free: 3.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.927e-06/0.6583, allocations: 0 / 479 MB, free: 3.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001073/0.6584, allocations: 40 kB / 479 MB, free: 3.605 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 399 * Number of variables: 399 Notification: Performance of Generate backend data structure: time 0.004255/0.6627, allocations: 1.932 MB / 480.9 MB, free: 1.621 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.6628, allocations: 12.03 kB / 480.9 MB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.6632, allocations: 213.5 kB / 481.2 MB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/0.6663, allocations: 1.322 MB / 482.5 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.6665, allocations: 127.2 kB / 482.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/0.6669, allocations: 167.9 kB / 482.8 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004695/0.6716, allocations: 2.128 MB / 484.9 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.705e-05/0.6717, allocations: 4 kB / 484.9 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.6719, allocations: 63.94 kB / 485 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.672, allocations: 51.98 kB / 485 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006571/0.6786, allocations: 3.082 MB / 488.1 MB, free: 10.35 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01624/0.6949, allocations: 7.842 MB / 495.9 MB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006834/0.7017, allocations: 2.896 MB / 498.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.7038, allocations: 0.9966 MB / 499.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005189/0.709, allocations: 4.01 MB / 0.492 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.7091, allocations: 55.81 kB / 0.4921 GB, free: 9.523 MB / 426.7 MB Notification: Performance of pre-optimization done (n=157): time 7.957e-06/0.7091, allocations: 0 / 0.4921 GB, free: 9.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=190): time 0.02262/0.7317, allocations: 7.145 MB / 0.4991 GB, free: 2.309 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.7318, allocations: 69.41 kB / 0.4991 GB, free: 2.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.7336, allocations: 0.9083 MB / 0.5 GB, free: 1.309 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.7338, allocations: 57.7 kB / 0.5001 GB, free: 1.246 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007816/0.7346, allocations: 0.7734 MB / 0.5008 GB, free: 472 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007397/0.7353, allocations: 0.6471 MB / 0.5015 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.7355, allocations: 40 kB / 0.5015 GB, free: 15.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.7358, allocations: 393.9 kB / 0.5019 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.7381, allocations: 0.9805 MB / 0.5028 GB, free: 14.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.7408, allocations: 1.454 MB / 0.5042 GB, free: 12.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/0.7435, allocations: 1.15 MB / 0.5054 GB, free: 11.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.7436, allocations: 8 kB / 0.5054 GB, free: 11.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=268) (initialization): time 0.007813/0.7514, allocations: 3.085 MB / 0.5084 GB, free: 8.465 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.7515, allocations: 12.31 kB / 0.5084 GB, free: 8.453 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.7515, allocations: 19.95 kB / 0.5084 GB, free: 8.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002283/0.7538, allocations: 0.4956 MB / 0.5089 GB, free: 7.922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/0.7562, allocations: 0.4953 MB / 0.5094 GB, free: 7.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2435/0.9998, allocations: 8.695 MB / 0.5179 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/1.002, allocations: 92.97 kB / 0.518 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/1.002, allocations: 126.7 kB / 0.5181 GB, free: 111.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 9,1 4,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004813/1.003, allocations: 232.9 kB / 0.5183 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/1.003, allocations: 170.4 kB / 0.5185 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008619/1.012, allocations: 3.39 MB / 0.5218 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/1.012, allocations: 19.31 kB / 0.5218 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/1.012, allocations: 1.281 kB / 0.5218 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-05/1.012, allocations: 10.12 kB / 0.5218 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/1.023, allocations: 5.189 MB / 0.5269 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/1.023, allocations: 7.016 kB / 0.5269 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/1.025, allocations: 355.9 kB / 0.5272 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/1.028, allocations: 497.1 kB / 0.5277 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/1.028, allocations: 69.17 kB / 0.5278 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004397/1.032, allocations: 4.871 MB / 0.5325 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-06/1.032, allocations: 3.969 kB / 0.5325 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009149/1.041, allocations: 4.409 MB / 0.5368 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.042, allocations: 473.6 kB / 0.5373 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/1.043, allocations: 37.75 kB / 0.5373 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.044, allocations: 60.06 kB / 0.5374 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/1.044, allocations: 138.4 kB / 0.5375 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/1.044, allocations: 94.25 kB / 0.5376 GB, free: 106 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001202/1.046, allocations: 0.6852 MB / 0.5383 GB, free: 105.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.45e-07/1.046, allocations: 0 / 0.5383 GB, free: 105.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002683/1.048, allocations: 0.9539 MB / 0.5392 GB, free: 105.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (O2_gas.log10n,H2_gas.log10n,anode.T,anode.freeInternalEnergy,cathode.T,cathode.freeInternalEnergy,water.T,water.freeInternalEnergy,air.T,air.freeInternalEnergy,liquidWater.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 171 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 11,1 4,1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001842/1.05, allocations: 0.9937 MB / 0.5402 GB, free: 105.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005088/1.055, allocations: 2.665 MB / 0.5428 GB, free: 105.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.313e-06/1.055, allocations: 0 / 0.5428 GB, free: 105.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/1.058, allocations: 1.445 MB / 0.5442 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/1.061, allocations: 0.5166 MB / 0.5447 GB, free: 105.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/1.067, allocations: 3.197 MB / 0.5478 GB, free: 104.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008753/1.068, allocations: 1.352 MB / 0.5491 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002443/1.07, allocations: 0.6471 MB / 0.5498 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008283/1.071, allocations: 249.6 kB / 0.55 GB, free: 103.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.847e-06/1.071, allocations: 0 / 0.55 GB, free: 103.6 MB / 442.7 MB Notification: Performance of Templates: time 0.07163/1.143, allocations: 36.25 MB / 0.5854 GB, free: 94.29 MB / 442.7 MB