Running command: translateModel(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") Notification: Performance of loadModel(Modelica): time 1.084/1.084, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.163e-05, allocations: 3.984 kB / 154.5 MB, free: 2.828 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06354/0.06358, allocations: 25.18 MB / 179.7 MB, free: 9.609 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.TanksWithOverflow): time 0.2954/0.3591, allocations: 47.56 MB / 227.3 MB, free: 0.6094 MB / 170.7 MB Notification: Performance of NFInst.instExpressions: time 0.06635/0.4255, allocations: 22.64 MB / 249.9 MB, free: 13.46 MB / 202.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.4279, allocations: 39.69 kB / 249.9 MB, free: 13.43 MB / 202.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003239/0.4312, allocations: 0.4975 MB / 250.4 MB, free: 12.93 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:284:9-285:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:286:9-286:130:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:287:9-287:132:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:288:9-289:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:284:9-285:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:286:9-286:130:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:287:9-287:132:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:288:9-289:134:writable] Warning: Conditional component portsData is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.02769/0.4589, allocations: 4.456 MB / 254.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01831/0.4773, allocations: 2.921 MB / 257.8 MB, free: 5.527 MB / 202.7 MB Notification: Performance of NFFlatten.flatten: time 0.006026/0.4833, allocations: 1.564 MB / 259.4 MB, free: 3.957 MB / 202.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.4859, allocations: 0.7277 MB / 260.1 MB, free: 3.227 MB / 202.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004257/0.4902, allocations: 0.943 MB / 261 MB, free: 2.281 MB / 202.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.044/0.5342, allocations: 11.85 MB / 272.9 MB, free: 6.422 MB / 218.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02805/0.5624, allocations: 7.949 MB / 280.8 MB, free: 14.46 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003455/0.5659, allocations: 500 kB / 281.3 MB, free: 13.98 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.5669, allocations: 430.8 kB / 281.7 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006259/0.5676, allocations: 148 kB / 281.9 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.58, allocations: 4.557 MB / 286.4 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5801, allocations: 0 / 286.4 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.5801, allocations: 3.938 kB / 286.5 MB, free: 8.84 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.909e-05/0.5802, allocations: 0 / 286.5 MB, free: 8.84 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.009502/0.5897, allocations: 2.184 MB / 288.6 MB, free: 6.602 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5897, allocations: 8.031 kB / 288.6 MB, free: 6.594 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006556/0.5904, allocations: 158.2 kB / 288.8 MB, free: 6.438 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.593, allocations: 0.8733 MB / 289.7 MB, free: 5.523 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004997/0.5935, allocations: 282.4 kB / 289.9 MB, free: 5.215 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.5938, allocations: 103.9 kB / 290 MB, free: 5.113 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006604/0.6005, allocations: 2.102 MB / 292.1 MB, free: 2.938 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/0.6006, allocations: 0 / 292.1 MB, free: 2.938 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.6008, allocations: 47.98 kB / 292.2 MB, free: 2.891 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002327/0.601, allocations: 98.12 kB / 292.3 MB, free: 2.793 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007475/0.6085, allocations: 2.241 MB / 294.5 MB, free: 0.543 MB / 234.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.1686/0.7772, allocations: 8.803 MB / 303.3 MB, free: 75.68 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006489/0.7837, allocations: 1.678 MB / 305 MB, free: 75.11 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1097/0.8935, allocations: 36.46 MB / 341.5 MB, free: 40.25 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/0.8936, allocations: 49.69 kB / 341.5 MB, free: 40.2 MB / 234.7 MB Notification: Performance of pre-optimization done (n=114): time 4.408e-06/0.8936, allocations: 4 kB / 341.5 MB, free: 40.19 MB / 234.7 MB Notification: Performance of matching and sorting (n=124): time 0.04813/0.9417, allocations: 8.094 MB / 349.6 MB, free: 32 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.9419, allocations: 141.5 kB / 349.8 MB, free: 31.83 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.9444, allocations: 0.9121 MB / 350.7 MB, free: 30.9 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005921/0.9451, allocations: 45.7 kB / 350.7 MB, free: 30.85 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006186/0.9457, allocations: 0.5088 MB / 351.2 MB, free: 30.34 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.9467, allocations: 428.7 kB / 351.6 MB, free: 29.93 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.9471, allocations: 28 kB / 351.7 MB, free: 29.9 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.9473, allocations: 362.8 kB / 352 MB, free: 29.54 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005191/0.9525, allocations: 0.9902 MB / 353 MB, free: 28.55 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005199/0.9577, allocations: 1.232 MB / 354.2 MB, free: 27.23 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005277/0.9631, allocations: 1.045 MB / 355.3 MB, free: 26.18 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.9631, allocations: 0 / 355.3 MB, free: 26.18 MB / 234.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01381/0.977, allocations: 3.067 MB / 358.4 MB, free: 23.09 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.9771, allocations: 8 kB / 358.4 MB, free: 23.08 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.9771, allocations: 4 kB / 358.4 MB, free: 23.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/0.988, allocations: 1.99 MB / 360.4 MB, free: 21.1 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.9898, allocations: 203.4 kB / 360.6 MB, free: 20.9 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/1, allocations: 5.992 MB / 366.6 MB, free: 14.74 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/1.003, allocations: 154.2 kB / 366.7 MB, free: 14.59 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/1.003, allocations: 71.94 kB / 366.8 MB, free: 14.52 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 9 (overflow.flowModel.states[2].phase,overflow.flowModel.states[1].phase,pipe.flowModel.states[2].phase,pipe.flowModel.states[1].phase,upperTank.heatTransfer.states[1].phase,massFlowRate.medium.phase,lowerTank.heatTransfer.states[1].phase,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 110 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {1 5,3 3,1 5,5 12,5 12,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009867/1.004, allocations: 385.5 kB / 367.2 MB, free: 14.13 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/1.005, allocations: 134.4 kB / 367.3 MB, free: 14 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01788/1.023, allocations: 5.141 MB / 372.4 MB, free: 8.809 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.306e-05/1.023, allocations: 39.95 kB / 372.5 MB, free: 8.77 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/1.023, allocations: 4 kB / 372.5 MB, free: 8.766 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.481e-05/1.023, allocations: 11.91 kB / 372.5 MB, free: 8.754 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/1.048, allocations: 7.412 MB / 379.9 MB, free: 1.277 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/1.048, allocations: 0 / 379.9 MB, free: 1.277 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/1.05, allocations: 171.8 kB / 380.1 MB, free: 1.109 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02133/1.072, allocations: 3.724 MB / 383.8 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005529/1.072, allocations: 47.97 kB / 383.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.017/1.089, allocations: 6.466 MB / 390.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.09, allocations: 0 / 390.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1672/1.257, allocations: 7.047 MB / 397.3 MB, free: 93.37 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/1.257, allocations: 274.5 kB / 397.6 MB, free: 93.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006814/1.258, allocations: 26.78 kB / 397.6 MB, free: 93.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/1.261, allocations: 145.7 kB / 397.8 MB, free: 93.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007603/1.261, allocations: 174.3 kB / 397.9 MB, free: 93.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002962/1.262, allocations: 58.36 kB / 398 MB, free: 93.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001534/1.263, allocations: 0.7077 MB / 398.7 MB, free: 93.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.263, allocations: 1.188 kB / 398.7 MB, free: 93.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.006147/1.269, allocations: 1.72 MB / 400.4 MB, free: 93.13 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (upperTank.level,upperTank.medium.h,lowerTank.level,lowerTank.medium.h) * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse8.phase,$cse9.phase,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse21.phase,$cse21.region,$cse24.phase,$cse25.phase,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,upperTank.heatTransfer.states[1].phase,massFlowRate.medium.phase,lowerTank.heatTransfer.states[1].phase,hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 4,3 6,2 4,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.009578/1.279, allocations: 1.883 MB / 402.3 MB, free: 92.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.01189/1.291, allocations: 2.933 MB / 405.3 MB, free: 92.24 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.291, allocations: 4.906 kB / 405.3 MB, free: 92.24 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007611/1.299, allocations: 1.91 MB / 407.2 MB, free: 91.59 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005579/1.304, allocations: 0.6387 MB / 407.8 MB, free: 91.45 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.319, allocations: 4.822 MB / 412.6 MB, free: 89.21 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.32, allocations: 1.405 MB / 414 MB, free: 88.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008201/1.321, allocations: 118 kB / 414.1 MB, free: 88.3 MB / 250.7 MB Notification: Performance of SimCode: time 1.192e-06/1.321, allocations: 0 / 414.1 MB, free: 88.3 MB / 250.7 MB Notification: Performance of Templates: time 0.3646/1.685, allocations: 83.4 MB / 497.5 MB, free: 86.89 MB / 250.7 MB