Running command: translateModel(Physiolibrary.Hydraulic.Examples.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Fernandez2013.PulsatileCirculation") Notification: Performance of loadModel(Physiolibrary): time 2.084/2.084, allocations: 210.4 MB / 222.5 MB, free: 4.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.385e-05, allocations: 4 kB / 273.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 48.36 MB / 322.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3828/0.488, allocations: 96.11 MB / 418.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.4883, allocations: 81.95 kB / 418.3 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.869/2.357, allocations: 355.1 MB / 0.7553 GB, free: 54.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.003e-06/2.357, allocations: 0 / 0.7553 GB, free: 54.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001238/2.357, allocations: 42.38 kB / 0.7554 GB, free: 54.55 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.005419/2.363, allocations: 1.46 MB / 0.7568 GB, free: 53.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/2.363, allocations: 11.41 kB / 0.7568 GB, free: 53.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/2.364, allocations: 143.8 kB / 0.757 GB, free: 53.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/2.366, allocations: 0.7279 MB / 0.7577 GB, free: 53.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/2.366, allocations: 136.7 kB / 0.7578 GB, free: 52.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/2.367, allocations: 103.9 kB / 0.7579 GB, free: 52.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/2.368, allocations: 0.6668 MB / 0.7585 GB, free: 52.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/2.368, allocations: 0 / 0.7585 GB, free: 52.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.2e-05/2.368, allocations: 36 kB / 0.7586 GB, free: 52.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/2.368, allocations: 20 kB / 0.7586 GB, free: 52.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/2.37, allocations: 0.5986 MB / 0.7592 GB, free: 51.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006817/2.377, allocations: 2.212 MB / 0.7613 GB, free: 49.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/2.378, allocations: 0.6902 MB / 0.762 GB, free: 49.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/2.379, allocations: 375.4 kB / 0.7624 GB, free: 48.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-05/2.379, allocations: 16.47 kB / 0.7624 GB, free: 48.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007432/2.38, allocations: 368.5 kB / 0.7627 GB, free: 48.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 5.262e-06/2.38, allocations: 4 kB / 0.7627 GB, free: 48.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.002596/2.382, allocations: 0.7721 MB / 0.7635 GB, free: 47.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/2.382, allocations: 60.19 kB / 0.7636 GB, free: 47.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/2.384, allocations: 0.7046 MB / 0.7642 GB, free: 46.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/2.384, allocations: 49.7 kB / 0.7643 GB, free: 46.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/2.384, allocations: 464.4 kB / 0.7647 GB, free: 46.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007982/2.385, allocations: 302.3 kB / 0.765 GB, free: 46.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/2.385, allocations: 20 kB / 0.765 GB, free: 46.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.057e-05/2.385, allocations: 349.4 kB / 0.7654 GB, free: 45.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005923/2.386, allocations: 234.1 kB / 0.7656 GB, free: 45.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/2.386, allocations: 384.7 kB / 0.766 GB, free: 45.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/2.387, allocations: 293.1 kB / 0.7662 GB, free: 44.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.072e-06/2.387, allocations: 8 kB / 0.7663 GB, free: 44.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00308/2.39, allocations: 0.9562 MB / 0.7672 GB, free: 44.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/2.39, allocations: 8 kB / 0.7672 GB, free: 44.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/2.39, allocations: 4 kB / 0.7672 GB, free: 44.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/2.391, allocations: 126.4 kB / 0.7673 GB, free: 43.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/2.392, allocations: 240.9 kB / 0.7675 GB, free: 43.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004472/2.396, allocations: 5.738 MB / 0.7732 GB, free: 37.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005607/2.402, allocations: 136.8 kB / 0.7733 GB, free: 37.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/2.402, allocations: 42.75 kB / 0.7733 GB, free: 37.45 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.0003188/2.403, allocations: 184.2 kB / 0.7735 GB, free: 37.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008132/2.404, allocations: 118.5 kB / 0.7736 GB, free: 37.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/2.406, allocations: 0.8408 MB / 0.7744 GB, free: 36.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/2.406, allocations: 8 kB / 0.7744 GB, free: 36.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.745e-06/2.406, allocations: 0 / 0.7744 GB, free: 36.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/2.406, allocations: 3.562 kB / 0.7744 GB, free: 36.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/2.409, allocations: 0.8751 MB / 0.7753 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.802e-06/2.409, allocations: 12 kB / 0.7753 GB, free: 35.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/2.41, allocations: 160.3 kB / 0.7755 GB, free: 35.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/2.41, allocations: 122.6 kB / 0.7756 GB, free: 35.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.272e-05/2.41, allocations: 27.41 kB / 0.7756 GB, free: 35.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004251/2.415, allocations: 5.725 MB / 0.7812 GB, free: 29.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.567e-06/2.415, allocations: 0 / 0.7812 GB, free: 29.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/2.418, allocations: 1.147 MB / 0.7823 GB, free: 28.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/2.419, allocations: 252.9 kB / 0.7826 GB, free: 27.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/2.419, allocations: 19.33 kB / 0.7826 GB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003157/2.423, allocations: 59.72 kB / 0.7826 GB, free: 27.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/2.423, allocations: 64.69 kB / 0.7827 GB, free: 27.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.956e-05/2.423, allocations: 27.98 kB / 0.7827 GB, free: 27.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008478/2.424, allocations: 0.5353 MB / 0.7832 GB, free: 27.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.02e-06/2.424, allocations: 0 / 0.7832 GB, free: 27.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001664/2.425, allocations: 327.5 kB / 0.7836 GB, free: 26.88 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.0004035/2.426, allocations: 265.8 kB / 0.7838 GB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001968/2.428, allocations: 1.092 MB / 0.7849 GB, free: 25.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.184e-06/2.428, allocations: 4.062 kB / 0.7849 GB, free: 25.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/2.429, allocations: 0.7829 MB / 0.7856 GB, free: 24.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/2.43, allocations: 231.6 kB / 0.7859 GB, free: 24.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/2.433, allocations: 1.401 MB / 0.7872 GB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/2.434, allocations: 1.1 MB / 0.7883 GB, free: 21.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008003/2.435, allocations: 140.3 kB / 0.7884 GB, free: 21.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/2.435, allocations: 87.39 kB / 0.7885 GB, free: 21.65 MB / 426.7 MB Notification: Performance of SimCode: time 1.84e-06/2.435, allocations: 0 / 0.7885 GB, free: 21.65 MB / 426.7 MB Notification: Performance of Templates: time 0.03529/2.47, allocations: 14.89 MB / 0.8031 GB, free: 6.809 MB / 426.7 MB