Running command: "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.Windkessel_4element,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_4element",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.079/2.079, allocations: 210.4 MB / 222.5 MB, free: 4.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.626e-05, allocations: 0 / 273.9 MB, free: 1.188 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 48.36 MB / 322.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4705/0.5929, allocations: 94.36 MB / 416.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.5933, allocations: 76.09 kB / 416.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2598/0.8531, allocations: 61.44 MB / 478.1 MB, free: 8.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.8532, allocations: 0 / 478.1 MB, free: 8.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.843e-05/0.8532, allocations: 12 kB / 478.1 MB, free: 8.895 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001942/0.8552, allocations: 0.5646 MB / 478.7 MB, free: 8.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.8553, allocations: 8.031 kB / 478.7 MB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.599e-05/0.8554, allocations: 54.55 kB / 478.8 MB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.8556, allocations: 31.61 kB / 478.8 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.8563, allocations: 273.6 kB / 479.1 MB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.8564, allocations: 12 kB / 479.1 MB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.8565, allocations: 27.89 kB / 479.1 MB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.857, allocations: 158 kB / 479.2 MB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.857, allocations: 0 / 479.2 MB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.8571, allocations: 19.88 kB / 479.3 MB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.8571, allocations: 4 kB / 479.3 MB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.8575, allocations: 127.9 kB / 479.4 MB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.8597, allocations: 0.6209 MB / 480 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/0.8605, allocations: 235.6 kB / 480.2 MB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.8609, allocations: 100.8 kB / 480.3 MB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.8609, allocations: 7.984 kB / 480.4 MB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.8612, allocations: 103.3 kB / 480.5 MB, free: 6.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 3.657e-06/0.8612, allocations: 0 / 480.5 MB, free: 6.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006928/0.8619, allocations: 169.6 kB / 480.6 MB, free: 6.203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.862, allocations: 55.41 kB / 480.7 MB, free: 6.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.8623, allocations: 207 kB / 480.9 MB, free: 5.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.8624, allocations: 29.7 kB / 480.9 MB, free: 5.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.8625, allocations: 148.3 kB / 481.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.8627, allocations: 59.2 kB / 481.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.8627, allocations: 0 / 481.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.8629, allocations: 338.8 kB / 481.4 MB, free: 5.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.8631, allocations: 44.23 kB / 481.5 MB, free: 5.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.8633, allocations: 84.02 kB / 481.6 MB, free: 5.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.8635, allocations: 56.84 kB / 481.6 MB, free: 5.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.8635, allocations: 3.953 kB / 481.6 MB, free: 5.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006905/0.8642, allocations: 195.6 kB / 481.8 MB, free: 4.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.8643, allocations: 4 kB / 481.8 MB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.8643, allocations: 7.984 kB / 481.8 MB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.8643, allocations: 4.062 kB / 481.8 MB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.8648, allocations: 55.97 kB / 481.9 MB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.8648, allocations: 3.938 kB / 481.9 MB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.866, allocations: 31.67 kB / 481.9 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.866, allocations: 12 kB / 481.9 MB, free: 4.836 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: pulses.T0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "beginning of cardiac cycle" type: Real pulses.HP:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "duration of cardiac cycle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulses.T0,pulses.b,$PRE.pulses.HP,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0002244/0.8663, allocations: 121.3 kB / 482.1 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.8664, allocations: 31.67 kB / 482.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.867, allocations: 191.4 kB / 482.3 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.867, allocations: 0 / 482.3 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.867, allocations: 0 / 482.3 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.8671, allocations: 0 / 482.3 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.8685, allocations: 0.5451 MB / 482.8 MB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.8686, allocations: 0 / 482.8 MB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.869, allocations: 35.94 kB / 482.8 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.869, allocations: 4 kB / 482.9 MB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.869, allocations: 7.984 kB / 482.9 MB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.869, allocations: 0 / 482.9 MB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8691, allocations: 4 kB / 482.9 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008423/0.8699, allocations: 331.1 kB / 483.2 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.8701, allocations: 112.8 kB / 483.3 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.8702, allocations: 7.953 kB / 483.3 MB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/0.8709, allocations: 15.98 kB / 483.3 MB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.871, allocations: 15.97 kB / 483.3 MB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.8711, allocations: 12.06 kB / 483.3 MB, free: 3.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.8713, allocations: 163.1 kB / 483.5 MB, free: 3.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.8714, allocations: 0 / 483.5 MB, free: 3.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005257/0.8719, allocations: 63.84 kB / 483.6 MB, free: 3.102 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.state,inertia.state) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001267/0.8732, allocations: 0.8981 MB / 484.5 MB, free: 2.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.8736, allocations: 127.9 kB / 484.6 MB, free: 2.051 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8737, allocations: 0 / 484.6 MB, free: 2.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.8739, allocations: 63.92 kB / 484.7 MB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.8744, allocations: 44.61 kB / 484.7 MB, free: 1.945 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.8757, allocations: 360.5 kB / 485.1 MB, free: 1.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.8762, allocations: 0.7521 MB / 485.8 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.8764, allocations: 30.19 kB / 485.8 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.8766, allocations: 75.41 kB / 485.9 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/0.8766, allocations: 4 kB / 485.9 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.9055, allocations: 4.73 MB / 490.6 MB, free: 12.01 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004002/0.9059, allocations: 152.3 kB / 490.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.606, allocations: 0 / 490.8 MB, free: 11.79 MB / 410.7 MB