Running command: translateModel(Chemical.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ElectrochemicalCell") Notification: Performance of loadModel(Chemical): time 1.941/1.941, allocations: 215.4 MB / 227.5 MB, free: 352 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.137e-05, allocations: 4 kB / 280.4 MB, free: 11.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.08321, allocations: 50.01 MB / 330.4 MB, free: 9.648 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/0.4666, allocations: 90.61 MB / 421.1 MB, free: 7.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.4669, allocations: 66.97 kB / 421.1 MB, free: 7.473 MB / 346.7 MB [/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:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Ag.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$Ag. 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 solution1.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$solution1. 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 Cl.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$Cl. 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 AgCl.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$AgCl. 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.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.Sources.ExternalIdealGasSubstance$H2. 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:1740:7-1740:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2.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.Sources.ExternalIdealGasSubstance$H2. 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 H.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$H. 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: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.3398/0.8067, allocations: 86.83 MB / 0.496 GB, free: 6.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.8068, allocations: 4 kB / 0.496 GB, free: 6.441 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001337/0.8069, allocations: 47.98 kB / 0.4961 GB, free: 6.395 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 475 * Number of variables: 475 Notification: Performance of Generate backend data structure: time 0.006046/0.813, allocations: 2.453 MB / 0.4985 GB, free: 3.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.813, allocations: 8.031 kB / 0.4985 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/0.8137, allocations: 264.9 kB / 0.4987 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004886/0.8186, allocations: 1.747 MB / 0.5005 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.8189, allocations: 147.8 kB / 0.5006 GB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007173/0.8196, allocations: 199.8 kB / 0.5008 GB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007163/0.8268, allocations: 2.874 MB / 0.5036 GB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/0.8269, allocations: 0 / 0.5036 GB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003195/0.8272, allocations: 79.91 kB / 0.5037 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.8274, allocations: 59.98 kB / 0.5037 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.8381, allocations: 4.626 MB / 0.5082 GB, free: 9.801 MB / 442.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.2676/1.106, allocations: 10.49 MB / 0.5185 GB, free: 92.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005237/1.111, allocations: 2.751 MB / 0.5212 GB, free: 91.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003261/1.114, allocations: 1.493 MB / 0.5226 GB, free: 91.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006284/1.121, allocations: 5.54 MB / 0.528 GB, free: 87.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/1.121, allocations: 61.67 kB / 0.5281 GB, free: 87.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=221): time 7.168e-06/1.121, allocations: 0 / 0.5281 GB, free: 87.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=341): time 0.07106/1.192, allocations: 20.03 MB / 0.5477 GB, free: 85.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0323/1.224, allocations: 12.31 MB / 0.5597 GB, free: 82.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/1.227, allocations: 1.442 MB / 0.5611 GB, free: 82.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000598/1.227, allocations: 79.89 kB / 0.5612 GB, free: 82.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006388/1.228, allocations: 0.889 MB / 0.562 GB, free: 82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001175/1.229, allocations: 1.142 MB / 0.5631 GB, free: 81.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/1.229, allocations: 68 kB / 0.5632 GB, free: 81.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/1.23, allocations: 435.2 kB / 0.5636 GB, free: 80.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/1.234, allocations: 2.25 MB / 0.5658 GB, free: 80.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005465/1.24, allocations: 2.792 MB / 0.5686 GB, free: 78.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005507/1.245, allocations: 2.509 MB / 0.571 GB, free: 77.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/1.246, allocations: 3.719 kB / 0.571 GB, free: 77.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.02207/1.268, allocations: 6.358 MB / 0.5772 GB, free: 75.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/1.268, allocations: 13.34 kB / 0.5772 GB, free: 75.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.927e-05/1.268, allocations: 13.84 kB / 0.5772 GB, free: 75.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01511/1.283, allocations: 1.707 MB / 0.5789 GB, free: 74.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008576/1.292, allocations: 0.7807 MB / 0.5797 GB, free: 74.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/1.312, allocations: 14.67 MB / 0.594 GB, free: 61.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/1.323, allocations: 435.7 kB / 0.5944 GB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/1.324, allocations: 236.7 kB / 0.5946 GB, free: 61.17 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 (356): * Single equations (assignments): 344 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 6,(1,100.0%) 3} * Non-linear torn systems: 2 {4 44,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001412/1.326, allocations: 285.4 kB / 0.5949 GB, free: 60.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.327, allocations: 243.3 kB / 0.5951 GB, free: 60.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02114/1.348, allocations: 6.757 MB / 0.6017 GB, free: 58.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01427/1.362, allocations: 5.946 MB / 0.6075 GB, free: 56.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.362, allocations: 4 kB / 0.6075 GB, free: 56.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.361e-05/1.362, allocations: 14.58 kB / 0.6076 GB, free: 56.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04086/1.403, allocations: 13.13 MB / 0.6204 GB, free: 45.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.605e-05/1.403, allocations: 12 kB / 0.6204 GB, free: 45.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005298/1.409, allocations: 0.5623 MB / 0.6209 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0253/1.434, allocations: 3.758 MB / 0.6246 GB, free: 42.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007018/1.435, allocations: 143.4 kB / 0.6248 GB, free: 42.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.446, allocations: 8.33 MB / 0.6329 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03136/1.478, allocations: 12.35 MB / 0.645 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/1.496, allocations: 9.671 MB / 0.6544 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002304/1.498, allocations: 0.8175 MB / 0.6552 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006248/1.499, allocations: 83.42 kB / 0.6553 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003182/1.502, allocations: 241.3 kB / 0.6555 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005438/1.502, allocations: 287.7 kB / 0.6558 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004453/1.503, allocations: 185.3 kB / 0.656 GB, free: 12.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001713/1.505, allocations: 1.1 MB / 0.657 GB, free: 11.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.69e-07/1.505, allocations: 0 / 0.657 GB, free: 11.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006593/1.511, allocations: 2.207 MB / 0.6592 GB, free: 9.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 11 ($STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],cathode.freeInternalEnergy,anode.freeInternalEnergy,solution1.freeInternalEnergy) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 256 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 6} * Non-linear torn systems: 1 {14 68} Notification: Performance of Backend phase and start with SimCode phase: time 0.003641/1.515, allocations: 1.661 MB / 0.6608 GB, free: 8.328 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.011/1.526, allocations: 5.612 MB / 0.6663 GB, free: 3.051 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.655e-06/1.526, allocations: 1.312 kB / 0.6663 GB, free: 3.051 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007071/1.533, allocations: 3.38 MB / 0.6696 GB, free: 40 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00433/1.537, allocations: 0.7055 MB / 0.6703 GB, free: 15.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.55, allocations: 5.509 MB / 0.6757 GB, free: 10.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/1.552, allocations: 1.739 MB / 0.6774 GB, free: 8.852 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004221/1.556, allocations: 0.9404 MB / 0.6783 GB, free: 8.168 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/1.558, allocations: 382.4 kB / 0.6786 GB, free: 7.895 MB / 458.7 MB Notification: Performance of SimCode: time 1.812e-06/1.558, allocations: 7.938 kB / 0.6786 GB, free: 7.887 MB / 458.7 MB Notification: Performance of Templates: time 0.4991/2.057, allocations: 71.51 MB / 0.7485 GB, free: 89.05 MB / 458.7 MB