Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.452e-05/5.496e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4112, allocations: 54.86 MB / 362.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0006332/0.4119, allocations: 215.6 kB / 363.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.4143, allocations: 1.307 MB / 364.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.4144, allocations: 1.031 kB / 364.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.4144, allocations: 0 / 364.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.654e-05/0.4144, allocations: 0 / 364.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.4152, allocations: 133.9 kB / 364.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.735e-05/0.4152, allocations: 5.422 kB / 364.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.4153, allocations: 0 / 364.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.4153, allocations: 7.906 kB / 364.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.4153, allocations: 1.438 kB / 364.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005867/0.4159, allocations: 260.4 kB / 364.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.416, allocations: 17.59 kB / 364.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.416, allocations: 0 / 364.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.4161, allocations: 1.656 kB / 364.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.4163, allocations: 85.59 kB / 364.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4163, allocations: 4.875 kB / 364.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4163, allocations: 0 / 364.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.4163, allocations: 0 / 364.9 MB, free: 10.49 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000398/0.4167, allocations: 333.3 kB / 365.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4168, allocations: 9.594 kB / 365.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.4168, allocations: 8 kB / 365.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.417, allocations: 159.1 kB / 365.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.417, allocations: 5.656 kB / 365.4 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.4171, allocations: 0.9688 kB / 365.4 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.4172, allocations: 39.06 kB / 365.4 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4172, allocations: 3.938 kB / 365.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4173, allocations: 1.719 kB / 365.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4173, allocations: 3.953 kB / 365.4 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.4173, allocations: 7.844 kB / 365.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.4178, allocations: 245.1 kB / 365.7 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.4178, allocations: 20.33 kB / 365.7 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.4179, allocations: 0 / 365.7 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.4179, allocations: 36.08 kB / 365.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.4179, allocations: 0 / 365.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001581/0.4181, allocations: 40.06 kB / 365.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.4181, allocations: 55.53 kB / 365.8 MB, free: 9.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.4182, allocations: 93.48 kB / 365.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4183, allocations: 25.7 kB / 365.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.4184, allocations: 155.8 kB / 366.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.4184, allocations: 5.391 kB / 366.1 MB, free: 9.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4184, allocations: 0 / 366.1 MB, free: 9.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4186, allocations: 312.4 kB / 366.4 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.4186, allocations: 5.344 kB / 366.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.4186, allocations: 21.42 kB / 366.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.815e-05/0.4187, allocations: 8.5 kB / 366.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4187, allocations: 0 / 366.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000103/0.4188, allocations: 49.72 kB / 366.5 MB, free: 8.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4188, allocations: 4.562 kB / 366.5 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4188, allocations: 5.219 kB / 366.5 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4189, allocations: 5.266 kB / 366.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.4189, allocations: 8.938 kB / 366.5 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.419, allocations: 5.547 kB / 366.5 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.419, allocations: 9.312 kB / 366.5 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.419, allocations: 1.156 kB / 366.5 MB, free: 8.715 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.249e-05/0.4191, allocations: 108.4 kB / 366.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.4192, allocations: 4 kB / 366.6 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.4193, allocations: 49.62 kB / 366.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4193, allocations: 8.031 kB / 366.7 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4194, allocations: 0 / 366.7 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4194, allocations: 1.312 kB / 366.7 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.4196, allocations: 147 kB / 366.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.4196, allocations: 1.5 kB / 366.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.4196, allocations: 0 / 366.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4196, allocations: 1.344 kB / 366.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.4196, allocations: 3.984 kB / 366.8 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4196, allocations: 4.031 kB / 366.8 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4197, allocations: 5.141 kB / 366.8 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.4198, allocations: 127.2 kB / 367 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.4199, allocations: 77.11 kB / 367 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.4199, allocations: 1.375 kB / 367 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.42, allocations: 13.67 kB / 367.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.42, allocations: 3.938 kB / 367.1 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.42, allocations: 9.578 kB / 367.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.4201, allocations: 77.34 kB / 367.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4201, allocations: 0 / 367.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003963/0.4205, allocations: 38.03 kB / 367.2 MB, free: 8.016 MB / 298.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003862/0.4209, allocations: 143.4 kB / 367.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.095e-05/0.421, allocations: 8.375 kB / 367.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.421, allocations: 288 / 367.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.107e-05/0.4211, allocations: 31.95 kB / 367.4 MB, free: 7.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.4212, allocations: 5.219 kB / 367.4 MB, free: 7.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.4215, allocations: 119 kB / 367.5 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.4219, allocations: 0.677 MB / 368.2 MB, free: 7.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.4219, allocations: 8.719 kB / 368.2 MB, free: 7.023 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4219, allocations: 0 / 368.2 MB, free: 7.023 MB / 298.7 MB Notification: Performance of Templates: time 0.003553/0.4255, allocations: 1.004 MB / 369.2 MB, free: 6.488 MB / 298.7 MB