Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.509/2.509, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.398e-05, allocations: 4 kB / 349.1 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 61.9 MB / 410.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002549/0.1338, allocations: 1.444 MB / 412.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.1363, allocations: 1.123 MB / 413.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.1364, allocations: 0 / 413.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.1366, allocations: 27.88 kB / 413.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.1368, allocations: 47.78 kB / 413.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.1374, allocations: 127.6 kB / 413.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1375, allocations: 55.84 kB / 413.8 MB, free: 9.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.1375, allocations: 4 kB / 413.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1377, allocations: 47.77 kB / 413.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1378, allocations: 39.89 kB / 413.9 MB, free: 9.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.1389, allocations: 495.3 kB / 414.3 MB, free: 9.414 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.139, allocations: 16 kB / 414.4 MB, free: 9.398 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.139, allocations: 19.91 kB / 414.4 MB, free: 9.379 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.1391, allocations: 4 kB / 414.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.1397, allocations: 215.9 kB / 414.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1397, allocations: 0 / 414.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.778e-06/0.1397, allocations: 0 / 414.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.1397, allocations: 3.938 kB / 414.6 MB, free: 9.16 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006753/0.1404, allocations: 423.1 kB / 415 MB, free: 8.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1405, allocations: 12.03 kB / 415 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.1405, allocations: 7.906 kB / 415 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1407, allocations: 178.8 kB / 415.2 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1407, allocations: 8 kB / 415.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.1408, allocations: 12 kB / 415.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.1413, allocations: 153 kB / 415.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1413, allocations: 0 / 415.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1413, allocations: 4 kB / 415.4 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1413, allocations: 4 kB / 415.4 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005085/0.1418, allocations: 143.9 kB / 415.5 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1431, allocations: 0.5299 MB / 416.1 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.1435, allocations: 110.6 kB / 416.2 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.1436, allocations: 0 / 416.2 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.1436, allocations: 34.52 kB / 416.2 MB, free: 7.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.1436, allocations: 4 kB / 416.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007967/0.1445, allocations: 189.5 kB / 416.4 MB, free: 7.188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1445, allocations: 51.41 kB / 416.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1446, allocations: 105.2 kB / 416.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1447, allocations: 29.7 kB / 416.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1448, allocations: 189.9 kB / 416.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.1448, allocations: 39.44 kB / 416.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.1449, allocations: 0 / 416.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.145, allocations: 318.8 kB / 417.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.1452, allocations: 39.97 kB / 417.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.1455, allocations: 89.11 kB / 417.2 MB, free: 6.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.1457, allocations: 47.98 kB / 417.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.1457, allocations: 0 / 417.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005822/0.1463, allocations: 173.4 kB / 417.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.1464, allocations: 12.03 kB / 417.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1464, allocations: 3.953 kB / 417.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1464, allocations: 4 kB / 417.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.1468, allocations: 47.95 kB / 417.5 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004212/0.1473, allocations: 0.5821 MB / 418.1 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.1475, allocations: 27.95 kB / 418.1 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.1475, allocations: 8 kB / 418.1 MB, free: 5.359 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.1477, allocations: 117.8 kB / 418.2 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.1477, allocations: 7.906 kB / 418.2 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007115/0.1485, allocations: 178.2 kB / 418.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1485, allocations: 4 kB / 418.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1485, allocations: 0 / 418.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1485, allocations: 7.984 kB / 418.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.1489, allocations: 213.5 kB / 418.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1489, allocations: 3.953 kB / 418.6 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.1493, allocations: 47.95 kB / 418.7 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.1493, allocations: 0 / 418.7 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1493, allocations: 7.938 kB / 418.7 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003785/0.1497, allocations: 0.5899 MB / 419.3 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1498, allocations: 0 / 419.3 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.1506, allocations: 311.4 kB / 419.6 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.1507, allocations: 96.97 kB / 419.7 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.1507, allocations: 3.938 kB / 419.7 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.1509, allocations: 15.98 kB / 419.7 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.151, allocations: 7.984 kB / 419.7 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.151, allocations: 4 kB / 419.7 MB, free: 3.641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.954e-05/0.1511, allocations: 95.2 kB / 419.8 MB, free: 3.547 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1511, allocations: 4.062 kB / 419.8 MB, free: 3.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005004/0.1516, allocations: 71.92 kB / 419.9 MB, free: 3.473 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004325/0.1521, allocations: 171.1 kB / 420.1 MB, free: 3.297 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000658/0.1527, allocations: 127.8 kB / 420.2 MB, free: 3.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1528, allocations: 4 kB / 420.2 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.1531, allocations: 76.2 kB / 420.3 MB, free: 3.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1534, allocations: 11.95 kB / 420.3 MB, free: 3.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.1543, allocations: 382 kB / 420.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1547, allocations: 0.7082 MB / 421.4 MB, free: 1.938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.1548, allocations: 27.42 kB / 421.4 MB, free: 1.91 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1548, allocations: 0 / 421.4 MB, free: 1.91 MB / 346.7 MB Notification: Performance of Templates: time 0.3296/0.4844, allocations: 2.506 MB / 423.9 MB, free: 12.61 MB / 346.7 MB