Running command: translateModel(Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell") Notification: Performance of loadModel(Chemical): time 1.844/1.844, allocations: 215.4 MB / 227.5 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.884e-05, allocations: 4 kB / 280.4 MB, free: 11.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08149/0.08154, allocations: 50.02 MB / 330.4 MB, free: 9.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.4847, allocations: 88.22 MB / 418.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.4849, allocations: 75.53 kB / 418.7 MB, free: 9.738 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: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: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.Sources.PureSubstance$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: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.Sources.PureSubstance$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.Sources.PureSubstance$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.Sources.PureSubstance$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. Notification: Performance of FrontEnd - DAE generated: time 0.2557/0.7407, allocations: 67.04 MB / 485.8 MB, free: 12.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.1e-06/0.7407, allocations: 8 kB / 485.8 MB, free: 12.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.025e-05/0.7408, allocations: 28 kB / 485.8 MB, free: 12.71 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003619/0.7444, allocations: 1.753 MB / 487.6 MB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.7445, allocations: 12.02 kB / 487.6 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/0.7448, allocations: 169.9 kB / 487.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.7468, allocations: 0.9102 MB / 488.7 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.7469, allocations: 82.09 kB / 488.7 MB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.7472, allocations: 104 kB / 488.8 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/0.751, allocations: 2.095 MB / 490.9 MB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.751, allocations: 0 / 490.9 MB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.7512, allocations: 43.98 kB / 491 MB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.7513, allocations: 67.89 kB / 491 MB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006109/0.7574, allocations: 3.685 MB / 494.7 MB, free: 3.637 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.01252/0.77, allocations: 6.762 MB / 0.4897 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.772, allocations: 1.019 MB / 0.4907 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.7727, allocations: 414 kB / 0.4911 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.773, allocations: 128.2 kB / 0.4912 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.773, allocations: 35 kB / 0.4913 GB, free: 11.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 5.473e-06/0.773, allocations: 3.984 kB / 0.4913 GB, free: 11.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=47): time 0.002261/0.7753, allocations: 1.124 MB / 0.4924 GB, free: 9.961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.7754, allocations: 56.25 kB / 0.4924 GB, free: 9.895 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004819/0.7802, allocations: 2.92 MB / 0.4953 GB, free: 6.969 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.7803, allocations: 37.7 kB / 0.4953 GB, free: 6.926 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008246/0.7811, allocations: 0.8369 MB / 0.4961 GB, free: 6.078 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.7813, allocations: 177.6 kB / 0.4963 GB, free: 5.902 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.7814, allocations: 24 kB / 0.4963 GB, free: 5.879 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.7817, allocations: 353.9 kB / 0.4967 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.7835, allocations: 1.1 MB / 0.4977 GB, free: 4.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.7858, allocations: 1.681 MB / 0.4994 GB, free: 2.457 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.788, allocations: 1.243 MB / 0.5006 GB, free: 1.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/0.788, allocations: 11.94 kB / 0.5006 GB, free: 1.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00553/0.7935, allocations: 3.016 MB / 0.5036 GB, free: 14.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.7936, allocations: 12 kB / 0.5036 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.7936, allocations: 20 kB / 0.5036 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.7953, allocations: 389.5 kB / 0.504 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.7972, allocations: 423.4 kB / 0.5044 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/0.8019, allocations: 4.247 MB / 0.5085 GB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.8033, allocations: 174 kB / 0.5087 GB, free: 8.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.8036, allocations: 91.95 kB / 0.5088 GB, free: 8.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002859/0.8039, allocations: 192.4 kB / 0.5089 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.8042, allocations: 146.3 kB / 0.5091 GB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.8073, allocations: 1.369 MB / 0.5104 GB, free: 6.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.8073, allocations: 8 kB / 0.5104 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.615e-06/0.8073, allocations: 4 kB / 0.5104 GB, free: 6.758 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.8073, allocations: 7.922 kB / 0.5104 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/0.8126, allocations: 2.63 MB / 0.513 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.955e-06/0.8127, allocations: 4 kB / 0.513 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.8132, allocations: 99.88 kB / 0.5131 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.8151, allocations: 426.9 kB / 0.5135 GB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.8152, allocations: 23.98 kB / 0.5135 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2385/1.054, allocations: 4.122 MB / 0.5176 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/1.054, allocations: 6.812 kB / 0.5176 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/1.057, allocations: 2.121 MB / 0.5196 GB, free: 106.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/1.058, allocations: 279.2 kB / 0.5199 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/1.058, allocations: 14.23 kB / 0.5199 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/1.059, allocations: 15.44 kB / 0.5199 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.059, allocations: 52.94 kB / 0.52 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/1.059, allocations: 29.06 kB / 0.52 GB, free: 106.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003353/1.062, allocations: 2.304 MB / 0.5223 GB, free: 106.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.744e-06/1.062, allocations: 0 / 0.5223 GB, free: 106.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003219/1.066, allocations: 1.03 MB / 0.5233 GB, free: 106.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (cathode.T,cathode.freeInternalEnergy,anode.T,anode.freeInternalEnergy) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 42 * 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: 0 * Non-linear torn systems: 4 {1 4,1 1,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002823/1.068, allocations: 1.372 MB / 0.5246 GB, free: 105.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003706/1.072, allocations: 1.85 MB / 0.5264 GB, free: 105.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.982e-06/1.072, allocations: 3.031 kB / 0.5264 GB, free: 105.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.073, allocations: 0.6671 MB / 0.5271 GB, free: 105.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.076, allocations: 472 kB / 0.5275 GB, free: 105.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/1.079, allocations: 1.906 MB / 0.5294 GB, free: 105.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008381/1.08, allocations: 1.169 MB / 0.5305 GB, free: 104.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001816/1.082, allocations: 0.5494 MB / 0.5311 GB, free: 104.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/1.082, allocations: 162.7 kB / 0.5312 GB, free: 104.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.76e-06/1.082, allocations: 2.562 kB / 0.5312 GB, free: 104.4 MB / 442.7 MB Notification: Performance of Templates: time 0.06571/1.148, allocations: 34.05 MB / 0.5645 GB, free: 102.1 MB / 442.7 MB