Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.561/2.561, allocations: 235.2 MB / 242.3 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.08e-05, allocations: 0 / 299.6 MB, free: 164 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3845, allocations: 54.85 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.582, allocations: 310.6 MB / 0.6494 GB, free: 121.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/1.583, allocations: 87.56 kB / 0.6495 GB, free: 121.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3783/1.961, allocations: 95.62 MB / 0.7429 GB, free: 63.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.894e-06/1.961, allocations: 0 / 0.7429 GB, free: 63.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.907e-05/1.961, allocations: 12 kB / 0.7429 GB, free: 63.89 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002063/1.963, allocations: 0.828 MB / 0.7437 GB, free: 63.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.092e-05/1.963, allocations: 12.03 kB / 0.7437 GB, free: 63 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/1.964, allocations: 55.44 kB / 0.7438 GB, free: 62.95 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/1.965, allocations: 479.7 kB / 0.7442 GB, free: 62.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/1.965, allocations: 15.94 kB / 0.7442 GB, free: 62.42 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.528e-05/1.965, allocations: 16 kB / 0.7442 GB, free: 62.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00096/1.966, allocations: 381.2 kB / 0.7446 GB, free: 62.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009944/1.967, allocations: 479.6 kB / 0.7451 GB, free: 61.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/1.967, allocations: 0 / 0.7451 GB, free: 61.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-05/1.967, allocations: 4 kB / 0.7451 GB, free: 61.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.633e-05/1.967, allocations: 28.55 kB / 0.7451 GB, free: 61.49 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004604/1.972, allocations: 2.186 MB / 0.7472 GB, free: 59.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/1.973, allocations: 198.6 kB / 0.7474 GB, free: 58.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/1.973, allocations: 110.4 kB / 0.7475 GB, free: 58.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/1.975, allocations: 1.053 MB / 0.7486 GB, free: 57.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/1.975, allocations: 153 kB / 0.7487 GB, free: 57.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 3.206e-06/1.975, allocations: 0 / 0.7487 GB, free: 57.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008746/1.976, allocations: 207 kB / 0.7489 GB, free: 57.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/1.976, allocations: 158.2 kB / 0.749 GB, free: 57.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/1.976, allocations: 385 kB / 0.7494 GB, free: 56.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/1.977, allocations: 25.7 kB / 0.7494 GB, free: 56.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/1.977, allocations: 311.1 kB / 0.7497 GB, free: 56.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/1.977, allocations: 51.44 kB / 0.7498 GB, free: 56.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/1.977, allocations: 0 / 0.7498 GB, free: 56.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/1.977, allocations: 354.8 kB / 0.7501 GB, free: 55.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/1.977, allocations: 96.84 kB / 0.7502 GB, free: 55.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/1.978, allocations: 325.4 kB / 0.7505 GB, free: 55.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/1.983, allocations: 0.6144 MB / 0.7511 GB, free: 54.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/1.983, allocations: 4 kB / 0.7511 GB, free: 54.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.006585/1.99, allocations: 0.864 MB / 0.752 GB, free: 53.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006045/1.991, allocations: 2.83 MB / 0.7547 GB, free: 50.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/1.991, allocations: 4 kB / 0.7547 GB, free: 50.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/1.991, allocations: 12 kB / 0.7548 GB, free: 50.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/1.991, allocations: 91.83 kB / 0.7548 GB, free: 50.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.991, allocations: 11.94 kB / 0.7549 GB, free: 50.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/1.992, allocations: 59.42 kB / 0.7549 GB, free: 50.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/1.992, allocations: 24 kB / 0.7549 GB, free: 50.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.992, allocations: 5.25 kB / 0.7549 GB, free: 50.73 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006211/1.999, allocations: 0.7904 MB / 0.7557 GB, free: 49.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.999, allocations: 8 kB / 0.7557 GB, free: 49.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.999, allocations: 8.875 kB / 0.7557 GB, free: 49.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/1.999, allocations: 83.84 kB / 0.7558 GB, free: 49.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/1.999, allocations: 23.92 kB / 0.7558 GB, free: 49.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/2, allocations: 31.69 kB / 0.7559 GB, free: 49.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/2, allocations: 35.94 kB / 0.7559 GB, free: 49.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0001972/2, allocations: 158.5 kB / 0.756 GB, free: 49.58 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007717/2.001, allocations: 225.7 kB / 0.7563 GB, free: 49.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/2.001, allocations: 43.48 kB / 0.7563 GB, free: 49.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008988/2.002, allocations: 257.3 kB / 0.7565 GB, free: 49.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/2.002, allocations: 0 / 0.7565 GB, free: 49.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.002, allocations: 0 / 0.7565 GB, free: 49.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/2.002, allocations: 0 / 0.7565 GB, free: 49.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/2.003, allocations: 329.9 kB / 0.7569 GB, free: 48.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/2.003, allocations: 7.953 kB / 0.7569 GB, free: 48.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/2.003, allocations: 23.92 kB / 0.7569 GB, free: 48.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/2.003, allocations: 0 / 0.7569 GB, free: 48.67 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/2.003, allocations: 8 kB / 0.7569 GB, free: 48.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/2.003, allocations: 0 / 0.7569 GB, free: 48.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/2.003, allocations: 3.984 kB / 0.7569 GB, free: 48.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/2.004, allocations: 262.7 kB / 0.7572 GB, free: 48.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/2.004, allocations: 128.5 kB / 0.7573 GB, free: 48.24 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/2.004, allocations: 4 kB / 0.7573 GB, free: 48.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/2.004, allocations: 11.98 kB / 0.7573 GB, free: 48.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/2.004, allocations: 11.98 kB / 0.7573 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/2.004, allocations: 8 kB / 0.7573 GB, free: 48.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004293/2.005, allocations: 286.9 kB / 0.7576 GB, free: 47.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.31e-07/2.005, allocations: 0 / 0.7576 GB, free: 47.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001932/2.007, allocations: 443.3 kB / 0.758 GB, free: 47.49 MB / 474.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.002613/2.009, allocations: 1.199 MB / 0.7592 GB, free: 46.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/2.011, allocations: 0.5997 MB / 0.7598 GB, free: 45.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/2.011, allocations: 0 / 0.7598 GB, free: 45.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/2.011, allocations: 152 kB / 0.7599 GB, free: 45.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/2.012, allocations: 129.8 kB / 0.76 GB, free: 45.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/2.015, allocations: 0.7729 MB / 0.7608 GB, free: 44.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/2.015, allocations: 0.851 MB / 0.7616 GB, free: 43.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001122/2.016, allocations: 168.2 kB / 0.7618 GB, free: 43.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/2.017, allocations: 143.4 kB / 0.7619 GB, free: 43.36 MB / 474.7 MB Notification: Performance of SimCode: time 1.253e-06/2.017, allocations: 0 / 0.7619 GB, free: 43.36 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06521/2.082, allocations: 13.37 MB / 0.775 GB, free: 30.06 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000214/2.082, allocations: 185.4 kB / 0.7751 GB, free: 29.86 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.095/5.177, allocations: 0 / 0.7751 GB, free: 29.86 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat