Running command: translateModel(Chemical.Examples.LeadAcidBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.LeadAcidBattery") Notification: Performance of loadModel(Chemical): time 1.969/1.969, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.126e-05, allocations: 0 / 280.4 MB, free: 11.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08776/0.08781, allocations: 50.01 MB / 330.4 MB, free: 9.648 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/0.5134, allocations: 90.27 MB / 420.7 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.5137, allocations: 67.28 kB / 420.8 MB, free: 7.59 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: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 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.Components.Substance$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.Components.Substance$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.Components.Substance$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.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 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.Components.Substance$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.Components.Substance$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.Components.Substance$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.4342/0.9479, allocations: 99.19 MB / 0.5078 GB, free: 10.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.948, allocations: 0 / 0.5078 GB, free: 10.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000156/0.9481, allocations: 59.98 kB / 0.5078 GB, free: 10.29 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 584 * Number of variables: 584 Notification: Performance of Generate backend data structure: time 0.006987/0.9551, allocations: 2.85 MB / 0.5106 GB, free: 7.375 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.9552, allocations: 12.02 kB / 0.5106 GB, free: 7.363 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008354/0.9561, allocations: 312.2 kB / 0.5109 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005924/0.962, allocations: 2.124 MB / 0.513 GB, free: 4.875 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.9622, allocations: 176.6 kB / 0.5132 GB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006396/0.9629, allocations: 247.8 kB / 0.5134 GB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007928/0.9708, allocations: 3.39 MB / 0.5167 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/0.9709, allocations: 0 / 0.5167 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004053/0.9713, allocations: 99.98 kB / 0.5168 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.9715, allocations: 63.98 kB / 0.5169 GB, free: 0.832 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2536/1.225, allocations: 5.382 MB / 0.5221 GB, free: 84.26 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.05775/1.283, allocations: 11.86 MB / 0.5337 GB, free: 81.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02408/1.307, allocations: 4.737 MB / 0.5383 GB, free: 80.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004654/1.312, allocations: 1.985 MB / 0.5403 GB, free: 80.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008442/1.32, allocations: 8.105 MB / 0.5482 GB, free: 73.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.51e-05/1.32, allocations: 61.28 kB / 0.5482 GB, free: 73.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=301): time 7.506e-06/1.32, allocations: 448 / 0.5482 GB, free: 73.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=464): time 0.09824/1.419, allocations: 27.42 MB / 0.575 GB, free: 70.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0532/1.472, allocations: 19.58 MB / 0.5941 GB, free: 59.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/1.474, allocations: 1.148 MB / 0.5953 GB, free: 59.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007841/1.475, allocations: 96.97 kB / 0.5954 GB, free: 59.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006719/1.475, allocations: 0.9218 MB / 0.5963 GB, free: 58.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001618/1.477, allocations: 1.548 MB / 0.5978 GB, free: 57.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/1.478, allocations: 87.47 kB / 0.5978 GB, free: 57.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/1.478, allocations: 465.7 kB / 0.5983 GB, free: 57.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005972/1.484, allocations: 2.798 MB / 0.601 GB, free: 56.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006911/1.491, allocations: 3.299 MB / 0.6042 GB, free: 54.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007117/1.498, allocations: 3.101 MB / 0.6073 GB, free: 53.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-05/1.498, allocations: 3.375 kB / 0.6073 GB, free: 53.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01931/1.517, allocations: 8.044 MB / 0.6151 GB, free: 46.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/1.517, allocations: 8 kB / 0.6151 GB, free: 46.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/1.517, allocations: 12 kB / 0.6152 GB, free: 46.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/1.529, allocations: 2.356 MB / 0.6175 GB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005179/1.534, allocations: 0.8746 MB / 0.6183 GB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/1.553, allocations: 19.02 MB / 0.6369 GB, free: 24.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007272/1.56, allocations: 0.602 MB / 0.6375 GB, free: 24.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007787/1.561, allocations: 286.3 kB / 0.6377 GB, free: 24.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 410 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 3 {4 55,1 4,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001065/1.562, allocations: 328.3 kB / 0.6381 GB, free: 23.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007693/1.563, allocations: 288.4 kB / 0.6383 GB, free: 23.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/1.583, allocations: 9.181 MB / 0.6473 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01815/1.602, allocations: 8.082 MB / 0.6552 GB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/1.602, allocations: 4 kB / 0.6552 GB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.81e-05/1.602, allocations: 24.14 kB / 0.6552 GB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04001/1.642, allocations: 16.08 MB / 0.6709 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.625e-05/1.642, allocations: 16.31 kB / 0.6709 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003804/1.646, allocations: 0.6851 MB / 0.6716 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02797/1.674, allocations: 5.587 MB / 0.6771 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009881/1.675, allocations: 189.5 kB / 0.6772 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2712/1.946, allocations: 9.979 MB / 0.687 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0552/2.001, allocations: 19.78 MB / 0.7063 GB, free: 86.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02644/2.028, allocations: 13.04 MB / 0.719 GB, free: 84.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00324/2.031, allocations: 1.043 MB / 0.7201 GB, free: 83.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009131/2.032, allocations: 94.89 kB / 0.7202 GB, free: 83.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005155/2.037, allocations: 355.1 kB / 0.7205 GB, free: 83.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009149/2.038, allocations: 393 kB / 0.7209 GB, free: 83.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006693/2.039, allocations: 246.1 kB / 0.7211 GB, free: 83.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001651/2.04, allocations: 0.861 MB / 0.7219 GB, free: 83.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.015e-06/2.04, allocations: 0 / 0.7219 GB, free: 83.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009184/2.05, allocations: 2.813 MB / 0.7247 GB, free: 83.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * Number of states: 13 ($STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],anode.freeInternalEnergy,cathode.freeInternalEnergy,solution1.freeInternalEnergy) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (331): * Single equations (assignments): 328 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 1 {18 99} Notification: Performance of Backend phase and start with SimCode phase: time 0.00471/2.054, allocations: 1.9 MB / 0.7265 GB, free: 83.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01609/2.07, allocations: 7.156 MB / 0.7335 GB, free: 83.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/2.07, allocations: 3.094 kB / 0.7335 GB, free: 83.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01103/2.082, allocations: 4.509 MB / 0.7379 GB, free: 81.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005407/2.087, allocations: 0.8314 MB / 0.7388 GB, free: 81.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/2.111, allocations: 8.352 MB / 0.7469 GB, free: 77.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/2.113, allocations: 2.006 MB / 0.7489 GB, free: 77.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004919/2.118, allocations: 1.088 MB / 0.7499 GB, free: 77.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002205/2.12, allocations: 468.9 kB / 0.7504 GB, free: 77.02 MB / 458.7 MB Notification: Performance of SimCode: time 1.786e-06/2.12, allocations: 0 / 0.7504 GB, free: 77.02 MB / 458.7 MB Notification: Performance of Templates: time 0.1708/2.291, allocations: 91.08 MB / 0.8393 GB, free: 10.24 MB / 458.7 MB