Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/2.995e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1284, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3662/0.4947, allocations: 24.63 MB / 435.6 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02794/0.5227, allocations: 14.09 MB / 449.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.5233, allocations: 12.19 kB / 449.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007861/0.5241, allocations: 165.4 kB / 449.8 MB, free: 7.727 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008412/0.525, allocations: 203.5 kB / 450 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0187/0.5437, allocations: 4.189 MB / 454.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.545, allocations: 398.7 kB / 454.6 MB, free: 4.777 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.5455, allocations: 159.7 kB / 454.8 MB, free: 4.676 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02386/0.5694, allocations: 8.758 MB / 463.5 MB, free: 2.699 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.57, allocations: 149.7 kB / 463.7 MB, free: 2.625 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/0.5878, allocations: 5.698 MB / 469.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002493/0.5904, allocations: 340 kB / 469.7 MB, free: 12.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.5907, allocations: 75.72 kB / 469.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.5909, allocations: 40 kB / 469.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007175/0.5981, allocations: 2.389 MB / 472.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5982, allocations: 0 / 472.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5982, allocations: 0 / 472.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.5982, allocations: 0 / 472.2 MB, free: 10.36 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003216/0.6014, allocations: 0.9552 MB / 473.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.6015, allocations: 12.02 kB / 473.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.6038, allocations: 195.4 kB / 473.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.6046, allocations: 325.4 kB / 473.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.6046, allocations: 20.56 kB / 473.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.6047, allocations: 28 kB / 473.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.6067, allocations: 0.4911 MB / 474.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.6067, allocations: 7.953 kB / 474.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.6068, allocations: 12 kB / 474.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.6068, allocations: 8 kB / 474.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.6089, allocations: 437.2 kB / 474.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/0.6141, allocations: 2.446 MB / 477.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.6161, allocations: 358.2 kB / 477.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0574/0.6736, allocations: 16.62 MB / 494.1 MB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.6737, allocations: 34.56 kB / 494.1 MB, free: 2.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 3.056e-06/0.6737, allocations: 0 / 494.1 MB, free: 2.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.00342/0.6771, allocations: 0.5674 MB / 494.7 MB, free: 1.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.6772, allocations: 110.8 kB / 494.8 MB, free: 1.367 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.6778, allocations: 271.7 kB / 495 MB, free: 1.102 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.6778, allocations: 29.7 kB / 495.1 MB, free: 1.066 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.6781, allocations: 262 kB / 495.3 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.6782, allocations: 59.12 kB / 495.4 MB, free: 0.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.6782, allocations: 8 kB / 495.4 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6783, allocations: 314.8 kB / 495.7 MB, free: 436 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.6789, allocations: 107.9 kB / 495.8 MB, free: 328 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/0.6796, allocations: 222.9 kB / 496 MB, free: 52 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.6802, allocations: 120 kB / 496.1 MB, free: 15.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/0.6802, allocations: 4 kB / 496.2 MB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001388/0.6816, allocations: 333.7 kB / 496.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.6817, allocations: 14.48 kB / 496.5 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.6817, allocations: 4 kB / 496.5 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/0.6817, allocations: 4.469 kB / 496.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.6823, allocations: 83.83 kB / 496.6 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.6823, allocations: 4 kB / 496.6 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.6828, allocations: 51.61 kB / 496.6 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.6829, allocations: 19.98 kB / 496.7 MB, free: 15.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.6832, allocations: 149.8 kB / 496.8 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.6833, allocations: 35.58 kB / 496.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.6859, allocations: 1.144 MB / 498 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/0.686, allocations: 19.91 kB / 498 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.686, allocations: 8 kB / 498 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.686, allocations: 0 / 498 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.6871, allocations: 0.6676 MB / 498.7 MB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6872, allocations: 0 / 498.7 MB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.6876, allocations: 55.95 kB / 498.7 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.6877, allocations: 4 kB / 498.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.6877, allocations: 4 kB / 498.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.6877, allocations: 0 / 498.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6877, allocations: 3.984 kB / 498.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.6893, allocations: 0.6387 MB / 499.4 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.6896, allocations: 203.9 kB / 499.6 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.6897, allocations: 0 / 499.6 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.6902, allocations: 27.98 kB / 499.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/0.6903, allocations: 23.97 kB / 499.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.6903, allocations: 7.984 kB / 499.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006138/0.691, allocations: 334.9 kB / 500 MB, free: 12.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.691, allocations: 0 / 500 MB, free: 12.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003107/0.6941, allocations: 0.7964 MB / 0.489 GB, free: 11.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006764/0.7009, allocations: 1.022 MB / 0.49 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.7025, allocations: 371.6 kB / 0.4904 GB, free: 9.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.7026, allocations: 0 / 0.4904 GB, free: 9.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007095/0.7033, allocations: 272.5 kB / 0.4906 GB, free: 9.551 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.705, allocations: 172.6 kB / 0.4908 GB, free: 9.387 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.7076, allocations: 1.303 MB / 0.4921 GB, free: 8.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.7083, allocations: 0.8839 MB / 0.4929 GB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.7085, allocations: 35.44 kB / 0.493 GB, free: 7.098 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7085, allocations: 0 / 0.493 GB, free: 7.098 MB / 410.7 MB Notification: Performance of Templates: time 0.05264/0.7611, allocations: 21.81 MB / 0.5143 GB, free: 1.297 MB / 426.7 MB