Running command: "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.Fernandez2013.PulsatileCirculation,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Fernandez2013_PulsatileCirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.022/2.022, allocations: 210.4 MB / 222.5 MB, free: 4.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.4e-05, allocations: 4 kB / 273.9 MB, free: 1.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 48.35 MB / 322.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5797, allocations: 96.16 MB / 418.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.5801, allocations: 87.27 kB / 418.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.153/2.733, allocations: 355.2 MB / 0.7555 GB, free: 54.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.176e-06/2.733, allocations: 3.594 kB / 0.7555 GB, free: 54.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001227/2.733, allocations: 48.69 kB / 0.7556 GB, free: 54.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006641/2.74, allocations: 1.46 MB / 0.757 GB, free: 53.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/2.74, allocations: 11.84 kB / 0.757 GB, free: 53.35 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002721/2.74, allocations: 128.1 kB / 0.7571 GB, free: 53.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/2.741, allocations: 142.7 kB / 0.7573 GB, free: 53.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/2.744, allocations: 0.724 MB / 0.758 GB, free: 52.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/2.744, allocations: 144.4 kB / 0.7581 GB, free: 52.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/2.744, allocations: 99.91 kB / 0.7582 GB, free: 52.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/2.746, allocations: 0.6722 MB / 0.7588 GB, free: 51.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/2.746, allocations: 0 / 0.7588 GB, free: 51.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/2.746, allocations: 32 kB / 0.7589 GB, free: 51.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/2.746, allocations: 20 kB / 0.7589 GB, free: 51.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/2.748, allocations: 0.5955 MB / 0.7595 GB, free: 51.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/2.763, allocations: 2.211 MB / 0.7616 GB, free: 49.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/2.765, allocations: 0.6971 MB / 0.7623 GB, free: 48.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/2.767, allocations: 372.5 kB / 0.7627 GB, free: 48.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/2.767, allocations: 24.41 kB / 0.7627 GB, free: 48.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/2.768, allocations: 364.4 kB / 0.763 GB, free: 48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 7.303e-06/2.768, allocations: 0 / 0.763 GB, free: 48 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.004616/2.773, allocations: 0.779 MB / 0.7638 GB, free: 47.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/2.773, allocations: 60.19 kB / 0.7639 GB, free: 47.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/2.775, allocations: 0.7069 MB / 0.7646 GB, free: 46.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002661/2.775, allocations: 45.7 kB / 0.7646 GB, free: 46.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000597/2.776, allocations: 453.3 kB / 0.765 GB, free: 46.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001663/2.778, allocations: 305.8 kB / 0.7653 GB, free: 45.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/2.778, allocations: 20 kB / 0.7653 GB, free: 45.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/2.778, allocations: 351.2 kB / 0.7657 GB, free: 45.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/2.779, allocations: 238.1 kB / 0.7659 GB, free: 45.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/2.78, allocations: 389.8 kB / 0.7663 GB, free: 44.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/2.782, allocations: 293.2 kB / 0.7666 GB, free: 44.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/2.782, allocations: 0 / 0.7666 GB, free: 44.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.005751/2.788, allocations: 0.9569 MB / 0.7675 GB, free: 43.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/2.788, allocations: 12.06 kB / 0.7675 GB, free: 43.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/2.788, allocations: 4 kB / 0.7675 GB, free: 43.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009992/2.789, allocations: 122.8 kB / 0.7676 GB, free: 43.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/2.792, allocations: 244.8 kB / 0.7679 GB, free: 43.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007521/2.799, allocations: 5.735 MB / 0.7735 GB, free: 37.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/2.81, allocations: 133 kB / 0.7736 GB, free: 37.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000314/2.81, allocations: 42.94 kB / 0.7736 GB, free: 37.01 MB / 426.7 MB Warning: Assuming fixed start value for the following 6 variables: timeVaryingElastanceRight.ts:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "duration of systole" type: Real timeVaryingElastanceRight.t0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "time of beginning of the cardiac cycle" type: Real timeVaryingElastanceLeft.HP:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "heart period" type: Real timeVaryingElastanceLeft.t0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "time of beginning of the cardiac cycle" type: Real timeVaryingElastanceLeft.ts:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "duration of systole" type: Real timeVaryingElastanceRight.HP:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "heart period" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$whenCondition1,mitralValve.open,aorticValve.open,tricuspidValve.open,pulmonaryValve.open,$PRE.timeVaryingElastanceLeft.HP,$PRE.timeVaryingElastanceLeft.t0,$PRE.timeVaryingElastanceLeft.ts,$PRE.timeVaryingElastanceRight.HP,$PRE.timeVaryingElastanceRight.t0,$PRE.timeVaryingElastanceRight.ts,timeVaryingElastanceRight.t0,timeVaryingElastanceRight.HP,timeVaryingElastanceRight.ts,timeVaryingElastanceLeft.t0,timeVaryingElastanceLeft.HP,timeVaryingElastanceLeft.ts) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 5,1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005781/2.811, allocations: 184.3 kB / 0.7738 GB, free: 36.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/2.812, allocations: 118.5 kB / 0.7739 GB, free: 36.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/2.816, allocations: 0.8444 MB / 0.7747 GB, free: 35.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/2.816, allocations: 8 kB / 0.7747 GB, free: 35.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/2.816, allocations: 11.55 kB / 0.7748 GB, free: 35.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/2.816, allocations: 3.703 kB / 0.7748 GB, free: 35.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/2.822, allocations: 0.8641 MB / 0.7756 GB, free: 35.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/2.822, allocations: 0 / 0.7756 GB, free: 35.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/2.824, allocations: 165.9 kB / 0.7758 GB, free: 35.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009749/2.825, allocations: 118.1 kB / 0.7759 GB, free: 34.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/2.825, allocations: 31.41 kB / 0.7759 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007166/2.833, allocations: 5.722 MB / 0.7815 GB, free: 28.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/2.833, allocations: 4.219 kB / 0.7815 GB, free: 28.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005775/2.839, allocations: 1.147 MB / 0.7826 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/2.84, allocations: 259.3 kB / 0.7829 GB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/2.84, allocations: 16 kB / 0.7829 GB, free: 27.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004104/2.844, allocations: 59.86 kB / 0.7829 GB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/2.845, allocations: 64.69 kB / 0.783 GB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.575e-05/2.845, allocations: 31.97 kB / 0.783 GB, free: 27.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009761/2.846, allocations: 0.5314 MB / 0.7835 GB, free: 26.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.846, allocations: 0 / 0.7835 GB, free: 26.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001975/2.848, allocations: 339.5 kB / 0.7839 GB, free: 26.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (pulmonaryVeinsInertia.state,pulmonaryArterialInertia.state,pulmonaryVeins.state,leftVentricle.state,aorta.state,aorticInertia.state,arteries.state,systemicInertia.state,rightVentricle.state,pulmonaryArtery.state,pulmonaryArterioles.state,veins.state) * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,mitralValve.open,aorticValve.open,tricuspidValve.open,pulmonaryValve.open,timeVaryingElastanceLeft.HP,timeVaryingElastanceLeft.t0,timeVaryingElastanceLeft.ts,timeVaryingElastanceRight.HP,timeVaryingElastanceRight.t0,timeVaryingElastanceRight.ts) * Number of discrete states: 6 (timeVaryingElastanceRight.ts,timeVaryingElastanceRight.t0,timeVaryingElastanceLeft.ts,timeVaryingElastanceLeft.t0,timeVaryingElastanceLeft.HP,timeVaryingElastanceRight.HP) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 5,1 1,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003479/2.851, allocations: 1.842 MB / 0.7857 GB, free: 24.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002373/2.854, allocations: 1.103 MB / 0.7867 GB, free: 23.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/2.854, allocations: 0 / 0.7867 GB, free: 23.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/2.855, allocations: 0.7799 MB / 0.7875 GB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/2.857, allocations: 231.6 kB / 0.7877 GB, free: 22.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/2.861, allocations: 1.599 MB / 0.7893 GB, free: 20.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/2.862, allocations: 1.104 MB / 0.7904 GB, free: 19.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008868/2.863, allocations: 132.3 kB / 0.7905 GB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007167/2.864, allocations: 431.3 kB / 0.7909 GB, free: 18.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.342e-06/2.864, allocations: 0 / 0.7909 GB, free: 18.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07734/2.941, allocations: 24.61 MB / 0.8149 GB, free: 10.41 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000381/2.942, allocations: 202.8 kB / 0.8151 GB, free: 10.18 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.902/6.844, allocations: 0 / 0.8151 GB, free: 10.18 MB / 442.7 MB