Running command: "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_StandardLeadAcidPotential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.097/2.097, allocations: 215.4 MB / 227.5 MB, free: 368 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.203e-05, allocations: 0 / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 50.01 MB / 330.5 MB, free: 9.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/0.5764, allocations: 86.82 MB / 417.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.5768, allocations: 75.89 kB / 417.4 MB, free: 10.88 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.3918/0.9685, allocations: 84.23 MB / 0.4899 GB, free: 12.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.9686, allocations: 0 / 0.4899 GB, free: 12.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000135/0.9688, allocations: 35.98 kB / 0.4899 GB, free: 12.74 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.007233/0.976, allocations: 2.107 MB / 0.492 GB, free: 10.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.9761, allocations: 12.03 kB / 0.492 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006743/0.9768, allocations: 169.5 kB / 0.4922 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006974/0.9775, allocations: 209.5 kB / 0.4924 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.9812, allocations: 1.069 MB / 0.4934 GB, free: 9.066 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.9814, allocations: 102.4 kB / 0.4935 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004209/0.9818, allocations: 119.9 kB / 0.4936 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006429/0.9882, allocations: 2.61 MB / 0.4962 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.9884, allocations: 0 / 0.4962 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.9886, allocations: 51.98 kB / 0.4962 GB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/0.9888, allocations: 79.94 kB / 0.4963 GB, free: 6.062 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.9993, allocations: 4.728 MB / 0.5009 GB, free: 1.328 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.02184/1.021, allocations: 8.253 MB / 0.509 GB, free: 8.906 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/1.024, allocations: 1.121 MB / 0.5101 GB, free: 7.773 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009611/1.025, allocations: 462 kB / 0.5105 GB, free: 7.316 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/1.025, allocations: 136.1 kB / 0.5106 GB, free: 7.184 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/1.026, allocations: 43 kB / 0.5107 GB, free: 7.133 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 3.957e-06/1.026, allocations: 0 / 0.5107 GB, free: 7.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.003261/1.029, allocations: 1.191 MB / 0.5118 GB, free: 5.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/1.029, allocations: 63.83 kB / 0.5119 GB, free: 5.855 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008008/1.037, allocations: 3.941 MB / 0.5158 GB, free: 1.871 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/1.037, allocations: 37.7 kB / 0.5158 GB, free: 1.828 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/1.038, allocations: 1.009 MB / 0.5168 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/1.039, allocations: 201.3 kB / 0.517 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/1.039, allocations: 32 kB / 0.517 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002127/1.039, allocations: 365.9 kB / 0.5173 GB, free: 216 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3115/1.351, allocations: 1.403 MB / 0.5187 GB, free: 96.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003778/1.355, allocations: 2.089 MB / 0.5208 GB, free: 95.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/1.358, allocations: 1.585 MB / 0.5223 GB, free: 95.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.678e-05/1.358, allocations: 7.094 kB / 0.5223 GB, free: 95.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01011/1.369, allocations: 3.767 MB / 0.526 GB, free: 95.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/1.369, allocations: 15.53 kB / 0.526 GB, free: 95.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.172e-05/1.369, allocations: 25.5 kB / 0.526 GB, free: 95.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/1.371, allocations: 390.5 kB / 0.5264 GB, free: 95.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003894/1.375, allocations: 496.3 kB / 0.5269 GB, free: 95.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/1.38, allocations: 4.257 MB / 0.531 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/1.382, allocations: 206.9 kB / 0.5312 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004938/1.383, allocations: 106.7 kB / 0.5313 GB, free: 92.14 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.0004183/1.383, allocations: 205 kB / 0.5315 GB, free: 92.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005497/1.384, allocations: 175.2 kB / 0.5317 GB, free: 91.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/1.388, allocations: 1.456 MB / 0.5331 GB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.388, allocations: 8.625 kB / 0.5331 GB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.388, allocations: 3.203 kB / 0.5331 GB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/1.388, allocations: 3.422 kB / 0.5331 GB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008832/1.397, allocations: 2.958 MB / 0.536 GB, free: 91.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/1.397, allocations: 5.453 kB / 0.536 GB, free: 91.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009668/1.398, allocations: 118.8 kB / 0.5361 GB, free: 91.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/1.4, allocations: 427.6 kB / 0.5365 GB, free: 91.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/1.401, allocations: 25.62 kB / 0.5366 GB, free: 91.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003763/1.404, allocations: 4.134 MB / 0.5406 GB, free: 87.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/1.404, allocations: 7.062 kB / 0.5406 GB, free: 87.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004542/1.409, allocations: 2.389 MB / 0.5429 GB, free: 86.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.41, allocations: 333.1 kB / 0.5433 GB, free: 86.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008601/1.411, allocations: 18.42 kB / 0.5433 GB, free: 86.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.413, allocations: 18.19 kB / 0.5433 GB, free: 86.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/1.413, allocations: 65.91 kB / 0.5434 GB, free: 86.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/1.413, allocations: 33.47 kB / 0.5434 GB, free: 86.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004933/1.418, allocations: 3.115 MB / 0.5464 GB, free: 86.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.418, allocations: 0 / 0.5464 GB, free: 86.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004889/1.423, allocations: 1.326 MB / 0.5477 GB, free: 86.43 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.009248/1.432, allocations: 5.759 MB / 0.5534 GB, free: 83.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005579/1.438, allocations: 2.227 MB / 0.5555 GB, free: 83.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/1.438, allocations: 7.719 kB / 0.5555 GB, free: 83.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.439, allocations: 0.6988 MB / 0.5562 GB, free: 83.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004537/1.444, allocations: 0.5661 MB / 0.5568 GB, free: 83.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009076/1.453, allocations: 2.967 MB / 0.5597 GB, free: 82.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008663/1.454, allocations: 1.273 MB / 0.5609 GB, free: 81.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002877/1.457, allocations: 0.6914 MB / 0.5616 GB, free: 81.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/1.459, allocations: 0.7588 MB / 0.5623 GB, free: 81.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.763e-06/1.459, allocations: 0 / 0.5623 GB, free: 81.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/1.602, allocations: 58.7 MB / 0.6197 GB, free: 56.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/1.602, allocations: 185.1 kB / 0.6198 GB, free: 56.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.079/6.682, allocations: 0 / 0.6198 GB, free: 56.52 MB / 442.7 MB