Running command: translateModel(Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential") Notification: Performance of loadModel(Chemical): time 1.842/1.842, allocations: 215.4 MB / 227.5 MB, free: 356 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.745e-05, allocations: 4 kB / 280.4 MB, free: 11.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.08312, allocations: 50.01 MB / 330.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4378, allocations: 86.82 MB / 417.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.4381, allocations: 66.66 kB / 417.3 MB, free: 10.91 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 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:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Pb.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$Pb. 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 HSO4.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$HSO4. 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 PbSO4_.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$PbSO4_. 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. [/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 PbO2.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$PbO2. 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 H2O.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$H2O. 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 PbSO4.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$PbSO4. 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.3161/0.7542, allocations: 84.23 MB / 0.4898 GB, free: 12.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.939e-06/0.7542, allocations: 0 / 0.4898 GB, free: 12.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.639e-05/0.7543, allocations: 36 kB / 0.4898 GB, free: 12.82 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.004293/0.7586, allocations: 2.103 MB / 0.4919 GB, free: 10.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7587, allocations: 12.03 kB / 0.4919 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/0.7591, allocations: 205.5 kB / 0.4921 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.7614, allocations: 1.066 MB / 0.4931 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.7616, allocations: 102.4 kB / 0.4932 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002614/0.7618, allocations: 120 kB / 0.4934 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004602/0.7665, allocations: 2.607 MB / 0.4959 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/0.7665, allocations: 3.938 kB / 0.4959 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.7667, allocations: 52 kB / 0.496 GB, free: 6.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/0.7669, allocations: 79.92 kB / 0.496 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007659/0.7745, allocations: 4.716 MB / 0.5006 GB, free: 1.602 MB / 426.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.01593/0.7905, allocations: 8.272 MB / 0.5087 GB, free: 9.164 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.7927, allocations: 1.121 MB / 0.5098 GB, free: 8.031 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.7935, allocations: 457.9 kB / 0.5102 GB, free: 7.578 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/0.7938, allocations: 132.2 kB / 0.5104 GB, free: 7.449 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.7938, allocations: 35 kB / 0.5104 GB, free: 7.406 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 3.908e-06/0.7938, allocations: 8 kB / 0.5104 GB, free: 7.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.002486/0.7963, allocations: 1.194 MB / 0.5116 GB, free: 6.191 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.7964, allocations: 55.84 kB / 0.5116 GB, free: 6.125 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006331/0.8027, allocations: 3.949 MB / 0.5155 GB, free: 2.133 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.801e-05/0.8029, allocations: 33.7 kB / 0.5155 GB, free: 2.094 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.8039, allocations: 1.002 MB / 0.5165 GB, free: 1.078 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.8041, allocations: 205.3 kB / 0.5167 GB, free: 0.875 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.8043, allocations: 35.94 kB / 0.5167 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.8045, allocations: 365.9 kB / 0.5171 GB, free: 488 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2378/1.042, allocations: 1.402 MB / 0.5184 GB, free: 97.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/1.045, allocations: 2.089 MB / 0.5205 GB, free: 96.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/1.048, allocations: 1.592 MB / 0.522 GB, free: 96.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/1.048, allocations: 6.281 kB / 0.522 GB, free: 96.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006531/1.054, allocations: 3.763 MB / 0.5257 GB, free: 96.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/1.054, allocations: 16.19 kB / 0.5257 GB, free: 96.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.15e-05/1.055, allocations: 23.41 kB / 0.5258 GB, free: 96.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/1.056, allocations: 391.1 kB / 0.5261 GB, free: 96.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/1.058, allocations: 0.4884 MB / 0.5266 GB, free: 96.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/1.062, allocations: 4.252 MB / 0.5308 GB, free: 92.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/1.064, allocations: 206 kB / 0.531 GB, free: 92.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/1.064, allocations: 111.6 kB / 0.5311 GB, free: 92.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 182 * 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.0002701/1.064, allocations: 202.3 kB / 0.5313 GB, free: 92.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/1.065, allocations: 179.4 kB / 0.5314 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/1.068, allocations: 1.452 MB / 0.5328 GB, free: 92.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.068, allocations: 5.75 kB / 0.5329 GB, free: 92.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.512e-06/1.068, allocations: 1.891 kB / 0.5329 GB, free: 92.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.068, allocations: 2.109 kB / 0.5329 GB, free: 92.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/1.074, allocations: 2.954 MB / 0.5357 GB, free: 91.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.074, allocations: 5.094 kB / 0.5357 GB, free: 91.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/1.075, allocations: 120.7 kB / 0.5359 GB, free: 91.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/1.077, allocations: 429.5 kB / 0.5363 GB, free: 91.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/1.077, allocations: 22.86 kB / 0.5363 GB, free: 91.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/1.08, allocations: 4.131 MB / 0.5403 GB, free: 87.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.741e-06/1.08, allocations: 6.781 kB / 0.5403 GB, free: 87.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/1.084, allocations: 2.391 MB / 0.5427 GB, free: 87.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000769/1.084, allocations: 339.1 kB / 0.543 GB, free: 86.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003427/1.085, allocations: 19.16 kB / 0.543 GB, free: 86.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008785/1.086, allocations: 17.38 kB / 0.543 GB, free: 86.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.086, allocations: 68.25 kB / 0.5431 GB, free: 86.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/1.086, allocations: 30.81 kB / 0.5431 GB, free: 86.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004152/1.09, allocations: 3.116 MB / 0.5462 GB, free: 86.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.227e-06/1.09, allocations: 0 / 0.5462 GB, free: 86.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003937/1.094, allocations: 1.326 MB / 0.5475 GB, free: 86.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (anode.T,anode.freeInternalEnergy,cathode.T,cathode.freeInternalEnergy) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * 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.003947/1.098, allocations: 1.784 MB / 0.5492 GB, free: 86.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00413/1.102, allocations: 2.228 MB / 0.5514 GB, free: 86.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.102, allocations: 1.75 kB / 0.5514 GB, free: 86.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.103, allocations: 0.6989 MB / 0.5521 GB, free: 86.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/1.106, allocations: 0.5722 MB / 0.5526 GB, free: 86.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/1.11, allocations: 2.212 MB / 0.5548 GB, free: 85.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/1.111, allocations: 1.276 MB / 0.556 GB, free: 84.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002094/1.113, allocations: 0.6891 MB / 0.5567 GB, free: 84.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/1.114, allocations: 208.3 kB / 0.5569 GB, free: 84.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.649e-06/1.114, allocations: 3.719 kB / 0.5569 GB, free: 84.59 MB / 442.7 MB Notification: Performance of Templates: time 0.07688/1.191, allocations: 43.01 MB / 0.5989 GB, free: 77.08 MB / 442.7 MB