Running command: translateModel(Chemical.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Phosphate") Notification: Performance of loadModel(Chemical): time 1.915/1.915, allocations: 215.4 MB / 227.5 MB, free: 352 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.112e-05, allocations: 5.406 kB / 280.4 MB, free: 11.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.08743, allocations: 50.01 MB / 330.4 MB, free: 9.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.4757, allocations: 87.83 MB / 418.3 MB, free: 9.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.4759, allocations: 68.03 kB / 418.3 MB, free: 9.902 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 solution.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. 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 H3PO4.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$H3PO4. 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 H2PO4.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$H2PO4. 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 HPO4.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$HPO4. 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 PO4.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$PO4. 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. Notification: Performance of FrontEnd - DAE generated: time 0.2739/0.7498, allocations: 70.75 MB / 489.1 MB, free: 9.367 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.117e-06/0.7499, allocations: 0 / 489.1 MB, free: 9.367 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.433e-05/0.75, allocations: 36 kB / 489.1 MB, free: 9.332 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: 366 * Number of variables: 366 Notification: Performance of Generate backend data structure: time 0.00457/0.7546, allocations: 1.989 MB / 491.1 MB, free: 7.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7546, allocations: 8.031 kB / 491.1 MB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.7551, allocations: 197.7 kB / 491.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00407/0.7592, allocations: 1.566 MB / 492.9 MB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.7593, allocations: 110.9 kB / 493 MB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004406/0.7598, allocations: 155.9 kB / 493.1 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005634/0.7654, allocations: 2.212 MB / 495.4 MB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.7655, allocations: 0 / 495.4 MB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/0.7658, allocations: 59.98 kB / 495.4 MB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-05/0.7659, allocations: 36 kB / 495.5 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008361/0.7743, allocations: 3.582 MB / 499 MB, free: 15.27 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.01763/0.7919, allocations: 7.666 MB / 0.4948 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04211/0.8341, allocations: 7.234 MB / 0.5019 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007178/0.8413, allocations: 1.32 MB / 0.5032 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02093/0.8623, allocations: 7.689 MB / 0.5107 GB, free: 5.629 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.8625, allocations: 60.52 kB / 0.5107 GB, free: 5.559 MB / 442.7 MB Notification: Performance of pre-optimization done (n=212): time 1.271e-05/0.8625, allocations: 0 / 0.5107 GB, free: 5.559 MB / 442.7 MB Notification: Performance of matching and sorting (n=270): time 0.2824/1.145, allocations: 9.635 MB / 0.5202 GB, free: 106.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/1.145, allocations: 80.5 kB / 0.5202 GB, free: 106.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/1.146, allocations: 0.7296 MB / 0.5209 GB, free: 106.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002841/1.147, allocations: 68.48 kB / 0.521 GB, free: 106.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/1.147, allocations: 0.5533 MB / 0.5215 GB, free: 106.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008061/1.148, allocations: 0.8948 MB / 0.5224 GB, free: 105.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/1.148, allocations: 45.5 kB / 0.5225 GB, free: 105.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/1.148, allocations: 400.9 kB / 0.5228 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00291/1.151, allocations: 1.179 MB / 0.524 GB, free: 105.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003147/1.154, allocations: 1.429 MB / 0.5254 GB, free: 105.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/1.158, allocations: 1.331 MB / 0.5267 GB, free: 105.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.723e-06/1.158, allocations: 1 kB / 0.5267 GB, free: 105.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.008608/1.166, allocations: 3.365 MB / 0.53 GB, free: 105 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/1.166, allocations: 7.578 kB / 0.53 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/1.167, allocations: 8.219 kB / 0.53 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/1.168, allocations: 355.6 kB / 0.5303 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/1.172, allocations: 0.5777 MB / 0.5309 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00814/1.18, allocations: 11.65 MB / 0.5423 GB, free: 93.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/1.182, allocations: 87.39 kB / 0.5424 GB, free: 93.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004125/1.182, allocations: 152.7 kB / 0.5425 GB, free: 93.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 12,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006114/1.183, allocations: 232.5 kB / 0.5427 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004382/1.183, allocations: 177 kB / 0.5429 GB, free: 93.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.194, allocations: 4.339 MB / 0.5471 GB, free: 93.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/1.195, allocations: 27.47 kB / 0.5472 GB, free: 93.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.195, allocations: 0 / 0.5472 GB, free: 93.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/1.195, allocations: 14.95 kB / 0.5472 GB, free: 93.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/1.209, allocations: 6.581 MB / 0.5536 GB, free: 92.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.209, allocations: 3.938 kB / 0.5536 GB, free: 92.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/1.212, allocations: 0.5173 MB / 0.5541 GB, free: 92.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/1.214, allocations: 365.3 kB / 0.5545 GB, free: 92.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/1.214, allocations: 107.9 kB / 0.5546 GB, free: 92.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003915/1.218, allocations: 3.996 MB / 0.5585 GB, free: 89.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.599e-06/1.218, allocations: 7.906 kB / 0.5585 GB, free: 89.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.231, allocations: 5.627 MB / 0.564 GB, free: 86.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.232, allocations: 0.6213 MB / 0.5646 GB, free: 85.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004175/1.233, allocations: 54.05 kB / 0.5646 GB, free: 85.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.234, allocations: 86.41 kB / 0.5647 GB, free: 85.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/1.234, allocations: 212.7 kB / 0.5649 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003528/1.235, allocations: 150.5 kB / 0.565 GB, free: 85.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009685/1.236, allocations: 0.5596 MB / 0.5656 GB, free: 85.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.013e-06/1.236, allocations: 0 / 0.5656 GB, free: 85.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003982/1.24, allocations: 1.285 MB / 0.5668 GB, free: 85.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 8 (solution.T,solution.freeInternalEnergy,H.log10n,H3PO4.log10n,H2PO4.log10n,HPO4.log10n,PO4.log10n,H2O.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 259 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003051/1.243, allocations: 1.44 MB / 0.5683 GB, free: 85.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007137/1.25, allocations: 3.171 MB / 0.5714 GB, free: 83.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.508e-06/1.25, allocations: 5.156 kB / 0.5714 GB, free: 83.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003611/1.254, allocations: 1.795 MB / 0.5731 GB, free: 82.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/1.257, allocations: 0.5083 MB / 0.5736 GB, free: 82.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/1.264, allocations: 3.231 MB / 0.5768 GB, free: 81.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009226/1.264, allocations: 1.366 MB / 0.5781 GB, free: 80.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003002/1.267, allocations: 0.8374 MB / 0.5789 GB, free: 80.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.269, allocations: 313.3 kB / 0.5792 GB, free: 80.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.757e-06/1.269, allocations: 0 / 0.5792 GB, free: 80.49 MB / 442.7 MB Notification: Performance of Templates: time 0.08326/1.352, allocations: 44.6 MB / 0.6228 GB, free: 55.6 MB / 442.7 MB