Running command: "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_MeursModel2011_HemodynamicsMeurs_flatNorm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.074/2.074, allocations: 210.4 MB / 222.5 MB, free: 4.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.916e-05/4.941e-05, allocations: 4 kB / 273.9 MB, free: 1.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 48.34 MB / 322.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4944/0.6021, allocations: 97.64 MB / 419.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/0.6025, allocations: 83.83 kB / 420 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.173/2.775, allocations: 362.8 MB / 0.7645 GB, free: 48.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.166e-06/2.775, allocations: 0 / 0.7645 GB, free: 48.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002346/2.775, allocations: 47.98 kB / 0.7645 GB, free: 48.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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.009425/2.785, allocations: 1.719 MB / 0.7662 GB, free: 46.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/2.785, allocations: 8.031 kB / 0.7662 GB, free: 46.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000396/2.785, allocations: 146.7 kB / 0.7663 GB, free: 46.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/2.787, allocations: 173.9 kB / 0.7665 GB, free: 46.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/2.79, allocations: 0.8379 MB / 0.7673 GB, free: 45.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/2.791, allocations: 221.9 kB / 0.7675 GB, free: 45.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/2.791, allocations: 112.9 kB / 0.7676 GB, free: 45.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/2.794, allocations: 0.7953 MB / 0.7684 GB, free: 44.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.305e-05/2.794, allocations: 3.906 kB / 0.7684 GB, free: 44.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/2.794, allocations: 51.94 kB / 0.7685 GB, free: 44.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/2.794, allocations: 24 kB / 0.7685 GB, free: 44.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/2.796, allocations: 0.6835 MB / 0.7692 GB, free: 43.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/2.808, allocations: 2.593 MB / 0.7717 GB, free: 41.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/2.811, allocations: 0.8901 MB / 0.7726 GB, free: 40.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/2.812, allocations: 466.4 kB / 0.773 GB, free: 39.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/2.812, allocations: 32.97 kB / 0.773 GB, free: 39.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/2.813, allocations: 467 kB / 0.7735 GB, free: 39.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=113): time 7.273e-06/2.814, allocations: 0 / 0.7735 GB, free: 39.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=113): time 0.004037/2.818, allocations: 0.9677 MB / 0.7744 GB, free: 38.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/2.818, allocations: 76.39 kB / 0.7745 GB, free: 38.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/2.82, allocations: 0.8776 MB / 0.7754 GB, free: 37.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003162/2.82, allocations: 49.7 kB / 0.7754 GB, free: 37.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/2.821, allocations: 0.5147 MB / 0.7759 GB, free: 36.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/2.822, allocations: 350.9 kB / 0.7762 GB, free: 36.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/2.822, allocations: 27.94 kB / 0.7763 GB, free: 36.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/2.822, allocations: 357.9 kB / 0.7766 GB, free: 36.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009576/2.823, allocations: 294.5 kB / 0.7769 GB, free: 35.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/2.824, allocations: 458.3 kB / 0.7773 GB, free: 35.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/2.826, allocations: 336.9 kB / 0.7776 GB, free: 34.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/2.826, allocations: 0 / 0.7776 GB, free: 34.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004858/2.83, allocations: 1.092 MB / 0.7787 GB, free: 33.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/2.831, allocations: 8 kB / 0.7787 GB, free: 33.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/2.831, allocations: 7.984 kB / 0.7787 GB, free: 33.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/2.831, allocations: 75.41 kB / 0.7788 GB, free: 33.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/2.834, allocations: 315.5 kB / 0.7791 GB, free: 33.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/2.838, allocations: 5.315 MB / 0.7843 GB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007768/2.846, allocations: 190.7 kB / 0.7845 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003136/2.846, allocations: 51.98 kB / 0.7845 GB, free: 27.29 MB / 426.7 MB Warning: Assuming fixed start value for the following 8 variables: LAtrialElastance.T0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) type: Real LAtrialElastance.HP:DISCRETE(start = 0.0 unit = "s" fixed = false ) "heart period" type: Real LVentricularElastance.T0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) type: Real LVentricularElastance.HP:DISCRETE(start = 0.0 unit = "s" fixed = false ) "heart period" type: Real RAtrialElastance.T0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) type: Real RAtrialElastance.HP:DISCRETE(start = 0.0 unit = "s" fixed = false ) "heart period" type: Real RVentricularElastance.T0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) type: Real RVentricularElastance.HP:DISCRETE(start = 0.0 unit = "s" fixed = false ) "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: 36 ($whenCondition1,$PRE.LAtrialElastance.T0,$PRE.LAtrialElastance.HP,LAtrialElastance.b,$whenCondition2,$PRE.LVentricularElastance.T0,$PRE.LVentricularElastance.HP,LVentricularElastance.b,$whenCondition3,$PRE.RAtrialElastance.T0,$PRE.RAtrialElastance.HP,RAtrialElastance.b,$whenCondition4,$PRE.RVentricularElastance.T0,$PRE.RVentricularElastance.HP,RVentricularElastance.b,AorticValve.open,LAtrialElastance.Tas,LAtrialElastance.T0,LAtrialElastance.Tvs,LAtrialElastance.HP,LVentricularElastance.Tas,LVentricularElastance.T0,LVentricularElastance.Tvs,LVentricularElastance.HP,MitralValve.open,PulmonaryValve.open,RAtrialElastance.Tas,RAtrialElastance.T0,RAtrialElastance.Tvs,RAtrialElastance.HP,RVentricularElastance.Tas,RVentricularElastance.T0,RVentricularElastance.Tvs,RVentricularElastance.HP,TricuspidValve.open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 149 * 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 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004881/2.847, allocations: 210.6 kB / 0.7847 GB, free: 27.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/2.848, allocations: 142.2 kB / 0.7849 GB, free: 26.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/2.852, allocations: 1.055 MB / 0.7859 GB, free: 25.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/2.852, allocations: 8 kB / 0.7859 GB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/2.852, allocations: 0 / 0.7859 GB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/2.852, allocations: 7.984 kB / 0.7859 GB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009625/2.861, allocations: 2.181 MB / 0.788 GB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/2.861, allocations: 4 kB / 0.788 GB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/2.864, allocations: 215.7 kB / 0.7882 GB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/2.864, allocations: 83.33 kB / 0.7883 GB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002918/2.865, allocations: 31.97 kB / 0.7884 GB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004023/2.869, allocations: 5.307 MB / 0.7935 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/2.869, allocations: 3.938 kB / 0.7935 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00533/2.874, allocations: 1.517 MB / 0.795 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/2.876, allocations: 310.8 kB / 0.7953 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005309/2.877, allocations: 27.98 kB / 0.7953 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005185/2.882, allocations: 107.9 kB / 0.7954 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003695/2.882, allocations: 76.89 kB / 0.7955 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/2.883, allocations: 43.95 kB / 0.7956 GB, free: 15.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001296/2.884, allocations: 0.6567 MB / 0.7962 GB, free: 14.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.62e-07/2.884, allocations: 0 / 0.7962 GB, free: 14.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002486/2.886, allocations: 387.5 kB / 0.7966 GB, free: 14.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (Epa.state,Epv.state,LeftAtrium.state,LeftVentricle.state,Eitha.state,Eetha.state,inertia.state,Est.state,Eithv.state,Eethv.state,RightAtrium.state,RightVentricle.state) * Number of discrete variables: 28 (RVentricularElastance.b,RAtrialElastance.b,LVentricularElastance.b,LAtrialElastance.b,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,AorticValve.open,LAtrialElastance.Tas,LAtrialElastance.T0,LAtrialElastance.Tvs,LAtrialElastance.HP,LVentricularElastance.Tas,LVentricularElastance.T0,LVentricularElastance.Tvs,LVentricularElastance.HP,MitralValve.open,PulmonaryValve.open,RAtrialElastance.Tas,RAtrialElastance.T0,RAtrialElastance.Tvs,RAtrialElastance.HP,RVentricularElastance.Tas,RVentricularElastance.T0,RVentricularElastance.Tvs,RVentricularElastance.HP,TricuspidValve.open) * Number of discrete states: 8 (LAtrialElastance.T0,LAtrialElastance.HP,LVentricularElastance.T0,LVentricularElastance.HP,RAtrialElastance.T0,RAtrialElastance.HP,RVentricularElastance.T0,RVentricularElastance.HP) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005047/2.891, allocations: 2.236 MB / 0.7988 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003223/2.895, allocations: 1.232 MB / 0.8 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/2.895, allocations: 192 / 0.8 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/2.897, allocations: 0.8581 MB / 0.8008 GB, free: 9.809 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/2.9, allocations: 304.4 kB / 0.8011 GB, free: 9.516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/2.906, allocations: 1.921 MB / 0.803 GB, free: 7.551 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/2.907, allocations: 1.186 MB / 0.8041 GB, free: 6.332 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00145/2.908, allocations: 174.5 kB / 0.8043 GB, free: 6.156 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/2.91, allocations: 0.5266 MB / 0.8048 GB, free: 5.629 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/2.91, allocations: 0 / 0.8048 GB, free: 5.629 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09629/3.006, allocations: 29.35 MB / 0.8335 GB, free: 8.293 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/3.006, allocations: 206.2 kB / 0.8337 GB, free: 8.066 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.162/7.169, allocations: 7.938 kB / 0.8337 GB, free: 8.059 MB / 458.7 MB