Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.ThreeTanks.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadModel(Modelica): time 1.653/1.653, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 8 kB / 233.9 MB, free: 2.41 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07846/0.07883, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.03884/0.1177, allocations: 24.91 MB / 297.5 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2366/0.3544, allocations: 13.31 MB / 310.9 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.3566, allocations: 56.62 kB / 310.9 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.359, allocations: 0.5237 MB / 311.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00775/0.3668, allocations: 1.889 MB / 313.3 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01194/0.3787, allocations: 2.901 MB / 316.2 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005685/0.3845, allocations: 2.586 MB / 318.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.3866, allocations: 0.9782 MB / 319.8 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003542/0.3901, allocations: 1.21 MB / 321 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.393, allocations: 1.103 MB / 322.1 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004654/0.3935, allocations: 85.22 kB / 322.2 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006761/0.4003, allocations: 2.201 MB / 324.4 MB, free: 6.793 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.4016, allocations: 0.4912 MB / 324.9 MB, free: 6.496 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007741/0.4024, allocations: 310.8 kB / 325.2 MB, free: 6.336 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006479/0.4088, allocations: 2.618 MB / 327.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4089, allocations: 0 / 327.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4089, allocations: 0 / 327.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.815e-05/0.4089, allocations: 4 kB / 327.8 MB, free: 4.906 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.006992/0.4159, allocations: 1.898 MB / 329.7 MB, free: 3.547 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.416, allocations: 10.98 kB / 329.7 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/0.4168, allocations: 176 kB / 329.9 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.4192, allocations: 0.9731 MB / 330.9 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.4194, allocations: 170.3 kB / 331 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/0.4197, allocations: 105.6 kB / 331.1 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004053/0.4238, allocations: 1.741 MB / 332.9 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.4239, allocations: 11.84 kB / 332.9 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/0.4241, allocations: 52.94 kB / 332.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/0.4243, allocations: 109.9 kB / 333 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004653/0.429, allocations: 1.772 MB / 334.8 MB, free: 15.11 MB / 266.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.02013/0.4492, allocations: 6.821 MB / 341.6 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.4524, allocations: 1.245 MB / 342.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00992/0.4623, allocations: 4.348 MB / 347.2 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.4624, allocations: 43.56 kB / 347.3 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001452/0.4639, allocations: 209 kB / 347.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of pre-optimization done (n=97): time 7.534e-06/0.4639, allocations: 4 kB / 347.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=112): time 0.03379/0.4977, allocations: 5.733 MB / 353.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/0.4979, allocations: 141.5 kB / 353.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.5004, allocations: 1.242 MB / 354.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.5007, allocations: 49.64 kB / 354.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006976/0.5014, allocations: 0.6147 MB / 355.3 MB, free: 9.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/0.5019, allocations: 383.9 kB / 355.6 MB, free: 9.566 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.5021, allocations: 32 kB / 355.7 MB, free: 9.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.5023, allocations: 365.9 kB / 356 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.5045, allocations: 0.6949 MB / 356.7 MB, free: 8.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/0.5069, allocations: 1.042 MB / 357.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.5092, allocations: 0.8183 MB / 358.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.5092, allocations: 0 / 358.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006508/0.5157, allocations: 2.253 MB / 360.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003246/0.5161, allocations: 380.5 kB / 361.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.5161, allocations: 12 kB / 361.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01317/0.5293, allocations: 1.269 MB / 362.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.5318, allocations: 299.5 kB / 362.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/0.536, allocations: 1.606 MB / 364.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.5383, allocations: 91.8 kB / 364.5 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.5385, allocations: 67.91 kB / 364.5 MB, free: 344 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.5385, allocations: 8.625 kB / 364.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00555/0.5441, allocations: 1.926 MB / 366.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.5441, allocations: 8 kB / 366.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/0.5559, allocations: 1.014 MB / 367.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/0.5584, allocations: 308.2 kB / 367.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.5613, allocations: 1.301 MB / 369.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.5633, allocations: 87.8 kB / 369.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.5635, allocations: 63.97 kB / 369.2 MB, free: 11.6 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 18} Notification: Performance of prepare postOptimizeDAE: time 0.001071/0.5646, allocations: 464.6 kB / 369.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.565, allocations: 146.3 kB / 369.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006752/0.5718, allocations: 2.097 MB / 371.9 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.5718, allocations: 7.969 kB / 371.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.5718, allocations: 0 / 371.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.5731, allocations: 423 kB / 372.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003969/0.5735, allocations: 20 kB / 372.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.5753, allocations: 87.88 kB / 372.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/0.5757, allocations: 97.16 kB / 372.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008199/0.5839, allocations: 2.069 MB / 374.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006493/0.5904, allocations: 2.505 MB / 377.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001844/0.5923, allocations: 0.7129 MB / 377.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001833/0.5941, allocations: 0.8363 MB / 378.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of Backend: time 6.92e-07/0.5942, allocations: 0 / 378.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.01166/0.6058, allocations: 2.935 MB / 381.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of SimCode: time 0.00947/0.6153, allocations: 4.196 MB / 385.8 MB, free: 11 MB / 314.7 MB Notification: Performance of Templates: time 0.1534/0.7688, allocations: 43.84 MB / 429.6 MB, free: 15.2 MB / 362.7 MB