Running command: "" <> buildModelFMU(Chemical.Examples.ElectrochemicalCell,fileNamePrefix="Chemical_Chemical_Examples_ElectrochemicalCell",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.047/2.047, allocations: 215.4 MB / 227.5 MB, free: 364 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.619e-05/4.634e-05, allocations: 3.984 kB / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 50.01 MB / 330.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4432/0.5596, allocations: 90.61 MB / 421.2 MB, free: 7.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5599, allocations: 67.84 kB / 421.2 MB, free: 7.105 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.4406/1.001, allocations: 86.84 MB / 0.4961 GB, free: 6.254 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.906e-06/1.001, allocations: 0 / 0.4961 GB, free: 6.254 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002449/1.001, allocations: 51.98 kB / 0.4962 GB, free: 6.203 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.009313/1.01, allocations: 2.453 MB / 0.4986 GB, free: 3.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/1.01, allocations: 8.031 kB / 0.4986 GB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001065/1.011, allocations: 266 kB / 0.4989 GB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009124/1.012, allocations: 264.9 kB / 0.4991 GB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006283/1.019, allocations: 1.743 MB / 0.5008 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/1.019, allocations: 147.8 kB / 0.501 GB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/1.02, allocations: 207.8 kB / 0.5011 GB, free: 1.016 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/1.03, allocations: 2.87 MB / 0.504 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.398e-05/1.03, allocations: 4 kB / 0.504 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006932/1.031, allocations: 72 kB / 0.504 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/1.031, allocations: 67.97 kB / 0.5041 GB, free: 13.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/1.045, allocations: 4.626 MB / 0.5086 GB, free: 9.344 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.3608/1.406, allocations: 10.49 MB / 0.5188 GB, free: 90.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007173/1.413, allocations: 2.754 MB / 0.5215 GB, free: 90.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004242/1.418, allocations: 1.495 MB / 0.523 GB, free: 90.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008351/1.426, allocations: 5.537 MB / 0.5284 GB, free: 85.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.757e-05/1.426, allocations: 56.97 kB / 0.5285 GB, free: 85.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=221): time 5.24e-06/1.426, allocations: 1.031 kB / 0.5285 GB, free: 85.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=341): time 0.1045/1.531, allocations: 20.03 MB / 0.548 GB, free: 84.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05601/1.587, allocations: 12.32 MB / 0.56 GB, free: 81.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/1.59, allocations: 1.44 MB / 0.5615 GB, free: 80.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.591, allocations: 78.58 kB / 0.5615 GB, free: 80.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009485/1.592, allocations: 0.8883 MB / 0.5624 GB, free: 80.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002088/1.594, allocations: 1.136 MB / 0.5635 GB, free: 80 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007687/1.595, allocations: 70.77 kB / 0.5636 GB, free: 80 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002513/1.595, allocations: 435.1 kB / 0.564 GB, free: 79.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006083/1.601, allocations: 2.248 MB / 0.5662 GB, free: 78.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006706/1.608, allocations: 2.791 MB / 0.5689 GB, free: 77.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007009/1.615, allocations: 2.513 MB / 0.5714 GB, free: 76.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.643e-05/1.615, allocations: 3.594 kB / 0.5714 GB, free: 76.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.0215/1.637, allocations: 6.361 MB / 0.5776 GB, free: 74.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/1.637, allocations: 12.38 kB / 0.5776 GB, free: 74.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/1.637, allocations: 20.53 kB / 0.5776 GB, free: 74.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/1.648, allocations: 1.706 MB / 0.5793 GB, free: 73.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007212/1.655, allocations: 0.78 MB / 0.58 GB, free: 73.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.67, allocations: 14.66 MB / 0.5944 GB, free: 60.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009098/1.68, allocations: 441.5 kB / 0.5948 GB, free: 60.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/1.681, allocations: 227.2 kB / 0.595 GB, free: 60.04 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.001808/1.683, allocations: 290.1 kB / 0.5953 GB, free: 59.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.684, allocations: 239.8 kB / 0.5955 GB, free: 59.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0231/1.707, allocations: 6.758 MB / 0.6021 GB, free: 57.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01964/1.727, allocations: 5.942 MB / 0.6079 GB, free: 54.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/1.727, allocations: 0 / 0.6079 GB, free: 54.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000116/1.727, allocations: 15.38 kB / 0.6079 GB, free: 54.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03875/1.766, allocations: 13.14 MB / 0.6207 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.514e-05/1.766, allocations: 15.94 kB / 0.6208 GB, free: 44.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004808/1.771, allocations: 0.5616 MB / 0.6213 GB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02451/1.795, allocations: 3.764 MB / 0.625 GB, free: 41.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001012/1.796, allocations: 143.2 kB / 0.6251 GB, free: 41.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/1.812, allocations: 8.329 MB / 0.6333 GB, free: 33.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04124/1.853, allocations: 12.36 MB / 0.6453 GB, free: 22.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02434/1.878, allocations: 9.672 MB / 0.6548 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003071/1.881, allocations: 0.8175 MB / 0.6556 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001404/1.882, allocations: 79.8 kB / 0.6556 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005767/1.888, allocations: 240.6 kB / 0.6559 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001233/1.89, allocations: 290.5 kB / 0.6562 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009892/1.891, allocations: 187.1 kB / 0.6563 GB, free: 11.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002222/1.893, allocations: 1.096 MB / 0.6574 GB, free: 10.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.893, allocations: 0 / 0.6574 GB, free: 10.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009679/1.903, allocations: 2.198 MB / 0.6595 GB, free: 8.324 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.03754/1.94, allocations: 15.09 MB / 0.6743 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01783/1.958, allocations: 5.618 MB / 0.6798 GB, free: 5.676 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/1.958, allocations: 4 kB / 0.6798 GB, free: 5.672 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01232/1.97, allocations: 3.375 MB / 0.6831 GB, free: 2.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00686/1.977, allocations: 0.7114 MB / 0.6838 GB, free: 2.121 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3708/2.348, allocations: 6.58 MB / 0.6902 GB, free: 98.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/2.351, allocations: 1.74 MB / 0.6919 GB, free: 98.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00646/2.357, allocations: 0.936 MB / 0.6928 GB, free: 98.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004668/2.362, allocations: 1.275 MB / 0.694 GB, free: 98.11 MB / 458.7 MB Notification: Performance of SimCode: time 1.993e-06/2.362, allocations: 0 / 0.694 GB, free: 98.11 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2178/2.58, allocations: 95.11 MB / 0.7869 GB, free: 57.43 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/2.58, allocations: 156.7 kB / 0.7871 GB, free: 57.21 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.559/9.139, allocations: 0 / 0.7871 GB, free: 57.21 MB / 458.7 MB