Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.771e-05, allocations: 7.984 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4247, allocations: 54.85 MB / 359.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8276/1.252, allocations: 311.2 MB / 0.6554 GB, free: 21.29 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/1.253, allocations: 89.16 kB / 0.6555 GB, free: 21.24 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7108/1.964, allocations: 96.37 MB / 0.7496 GB, free: 150 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.943e-06/1.964, allocations: 3.75 kB / 0.7496 GB, free: 150 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.351e-05/1.964, allocations: 9.938 kB / 0.7496 GB, free: 150 MB / 490.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.002261/1.966, allocations: 0.8256 MB / 0.7504 GB, free: 149.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/1.966, allocations: 9 kB / 0.7504 GB, free: 149.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/1.966, allocations: 75.8 kB / 0.7505 GB, free: 149.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/1.967, allocations: 54.72 kB / 0.7505 GB, free: 149.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/1.968, allocations: 478.9 kB / 0.751 GB, free: 148.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/1.968, allocations: 29.27 kB / 0.751 GB, free: 148.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/1.968, allocations: 29.38 kB / 0.7511 GB, free: 148.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/1.969, allocations: 0.5081 MB / 0.7515 GB, free: 148.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.969, allocations: 3.938 kB / 0.7516 GB, free: 148.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.623e-05/1.969, allocations: 15.03 kB / 0.7516 GB, free: 148.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.139e-05/1.969, allocations: 29.42 kB / 0.7516 GB, free: 148.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009896/1.97, allocations: 427.2 kB / 0.752 GB, free: 148.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004748/1.975, allocations: 2.25 MB / 0.7542 GB, free: 146.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/1.976, allocations: 202.1 kB / 0.7544 GB, free: 146.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/1.976, allocations: 116.3 kB / 0.7545 GB, free: 146.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001707/1.978, allocations: 1.056 MB / 0.7555 GB, free: 145.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/1.978, allocations: 150.8 kB / 0.7557 GB, free: 145.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.707e-06/1.978, allocations: 0 / 0.7557 GB, free: 145.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.000584/1.979, allocations: 223.4 kB / 0.7559 GB, free: 145.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/1.979, allocations: 162 kB / 0.756 GB, free: 145.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/1.98, allocations: 427.6 kB / 0.7565 GB, free: 145.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/1.98, allocations: 37.36 kB / 0.7565 GB, free: 145.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/1.98, allocations: 311.2 kB / 0.7568 GB, free: 144.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/1.98, allocations: 42.48 kB / 0.7568 GB, free: 144.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/1.98, allocations: 7.656 kB / 0.7568 GB, free: 144.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/1.98, allocations: 356.9 kB / 0.7572 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/1.98, allocations: 99.12 kB / 0.7573 GB, free: 144.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/1.981, allocations: 330.9 kB / 0.7576 GB, free: 144.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/1.981, allocations: 199.4 kB / 0.7578 GB, free: 144 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.981, allocations: 0 / 0.7578 GB, free: 144 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001058/1.982, allocations: 481.8 kB / 0.7582 GB, free: 143.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006072/1.983, allocations: 2.816 MB / 0.761 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/1.983, allocations: 7.75 kB / 0.761 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-05/1.983, allocations: 15.48 kB / 0.761 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/1.984, allocations: 86.53 kB / 0.7611 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/1.984, allocations: 14.86 kB / 0.7611 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/1.984, allocations: 73.77 kB / 0.7612 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.459e-05/1.984, allocations: 23.53 kB / 0.7612 GB, free: 140.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.984, allocations: 4.562 kB / 0.7612 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009937/1.985, allocations: 428.5 kB / 0.7616 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.986, allocations: 6.094 kB / 0.7616 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.986, allocations: 11.41 kB / 0.7616 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/1.986, allocations: 88.48 kB / 0.7617 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/1.986, allocations: 15.05 kB / 0.7617 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005759/1.987, allocations: 56.94 kB / 0.7618 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/1.987, allocations: 24.78 kB / 0.7618 GB, free: 140.5 MB / 490.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.000211/1.987, allocations: 169.6 kB / 0.762 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/1.987, allocations: 49 kB / 0.762 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007525/1.988, allocations: 280.7 kB / 0.7623 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.988, allocations: 3.781 kB / 0.7623 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.988, allocations: 0 / 0.7623 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.988, allocations: 3.891 kB / 0.7623 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/1.988, allocations: 376.2 kB / 0.7626 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.989, allocations: 0 / 0.7626 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/1.989, allocations: 23.42 kB / 0.7627 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/1.989, allocations: 0 / 0.7627 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/1.989, allocations: 11.89 kB / 0.7627 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.989, allocations: 3.844 kB / 0.7627 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.989, allocations: 0 / 0.7627 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/1.989, allocations: 284.6 kB / 0.763 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/1.99, allocations: 127.4 kB / 0.7631 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.99, allocations: 7.75 kB / 0.7631 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/1.99, allocations: 23.23 kB / 0.7631 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/1.99, allocations: 7.719 kB / 0.7631 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/1.99, allocations: 7.906 kB / 0.7631 GB, free: 139.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005505/1.991, allocations: 328.3 kB / 0.7634 GB, free: 139.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.991, allocations: 0 / 0.7634 GB, free: 139.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002004/1.993, allocations: 469.1 kB / 0.7639 GB, free: 139.3 MB / 490.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.002379/1.995, allocations: 1.215 MB / 0.7651 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/1.997, allocations: 0.6225 MB / 0.7657 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.997, allocations: 0 / 0.7657 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/1.997, allocations: 164.7 kB / 0.7658 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.998, allocations: 149.7 kB / 0.766 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/2.001, allocations: 0.7777 MB / 0.7667 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/2.001, allocations: 0.8543 MB / 0.7676 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001067/2.002, allocations: 177.8 kB / 0.7677 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/2.003, allocations: 144.7 kB / 0.7679 GB, free: 136.8 MB / 490.7 MB Notification: Performance of SimCode: time 3.176e-06/2.003, allocations: 0 / 0.7679 GB, free: 136.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/2.059, allocations: 15.13 MB / 0.7827 GB, free: 129.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/2.06, allocations: 199.3 kB / 0.7828 GB, free: 129.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/5.142, allocations: 8.062 kB / 0.7829 GB, free: 129.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat