Running command: translateModel(Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation") Notification: Performance of loadModel(Physiolibrary): time 1.942/1.942, allocations: 210.4 MB / 222.5 MB, free: 4.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.292e-05, allocations: 4 kB / 273.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08609, allocations: 48.35 MB / 322.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4169/0.5031, allocations: 95.45 MB / 417.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5034, allocations: 78.02 kB / 417.7 MB, free: 15.08 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Physiolibrary 2.3.2-beta/Hydraulic.mo:685:11-687:28:writable] Warning: connect(inflow, inflow) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.7842/1.288, allocations: 125 MB / 0.5299 GB, free: 105.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.015e-06/1.288, allocations: 3.688 kB / 0.5299 GB, free: 105.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.473e-05/1.288, allocations: 27.03 kB / 0.5299 GB, free: 105.7 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.004142/1.292, allocations: 0.8485 MB / 0.5308 GB, free: 105.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/1.292, allocations: 11.53 kB / 0.5308 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004842/1.293, allocations: 68.34 kB / 0.5308 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/1.294, allocations: 412.9 kB / 0.5312 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/1.294, allocations: 34.3 kB / 0.5313 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/1.295, allocations: 47.06 kB / 0.5313 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/1.296, allocations: 361.4 kB / 0.5317 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.673e-05/1.296, allocations: 3.953 kB / 0.5317 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/1.297, allocations: 15.56 kB / 0.5317 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/1.297, allocations: 13.69 kB / 0.5317 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/1.298, allocations: 269.5 kB / 0.532 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00593/1.304, allocations: 1.196 MB / 0.5331 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/1.306, allocations: 314.6 kB / 0.5334 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/1.307, allocations: 258.9 kB / 0.5337 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.24e-05/1.307, allocations: 10.84 kB / 0.5337 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008063/1.308, allocations: 191.1 kB / 0.5339 GB, free: 104.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=36): time 7.97e-06/1.308, allocations: 0 / 0.5339 GB, free: 104.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002079/1.31, allocations: 337.6 kB / 0.5342 GB, free: 104.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.31, allocations: 58.95 kB / 0.5342 GB, free: 104.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.311, allocations: 400.1 kB / 0.5346 GB, free: 104.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/1.311, allocations: 29.58 kB / 0.5346 GB, free: 104.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/1.312, allocations: 259.9 kB / 0.5349 GB, free: 104 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/1.312, allocations: 104 kB / 0.535 GB, free: 104 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/1.312, allocations: 12.5 kB / 0.535 GB, free: 104 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/1.312, allocations: 371.3 kB / 0.5354 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/1.313, allocations: 104.7 kB / 0.5355 GB, free: 103.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/1.314, allocations: 171 kB / 0.5356 GB, free: 103.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006709/1.314, allocations: 117.8 kB / 0.5357 GB, free: 103.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.186e-06/1.315, allocations: 7.297 kB / 0.5357 GB, free: 103.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002233/1.317, allocations: 401.4 kB / 0.5361 GB, free: 103.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/1.317, allocations: 3.75 kB / 0.5361 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.317, allocations: 3.594 kB / 0.5361 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/1.317, allocations: 3.594 kB / 0.5361 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.318, allocations: 115.3 kB / 0.5362 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/1.318, allocations: 3.969 kB / 0.5363 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004374/1.323, allocations: 76.86 kB / 0.5363 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/1.323, allocations: 14.16 kB / 0.5363 GB, free: 103.5 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: rightHeart.pulses.T0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "beginning of cardiac cycle" type: Real rightHeart.pulses.HP:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "duration of cardiac cycle" type: Real leftHeart.pulses.T0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "beginning of cardiac cycle" type: Real leftHeart.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: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$PRE.rightHeart.pulses.T0,rightHeart.pulses.b,$PRE.rightHeart.pulses.HP,$whenCondition2,$PRE.leftHeart.pulses.T0,leftHeart.pulses.b,$PRE.leftHeart.pulses.HP,rightHeart.pulses.T0,rightHeart.pulses.HP,rightHeart.pulses.TD2,leftHeart.pulses.T0,leftHeart.pulses.HP,leftHeart.pulses.TD2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0003592/1.323, allocations: 142.1 kB / 0.5365 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003876/1.324, allocations: 57.78 kB / 0.5365 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/1.325, allocations: 372.8 kB / 0.5369 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/1.326, allocations: 6.688 kB / 0.5369 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.326, allocations: 3.688 kB / 0.5369 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.326, allocations: 0 / 0.5369 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004286/1.33, allocations: 0.9334 MB / 0.5378 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.436e-06/1.33, allocations: 3.25 kB / 0.5378 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/1.331, allocations: 81.81 kB / 0.5379 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/1.331, allocations: 0 / 0.5379 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-05/1.331, allocations: 10.66 kB / 0.5379 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/1.331, allocations: 7.062 kB / 0.5379 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.736e-06/1.331, allocations: 0 / 0.5379 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/1.334, allocations: 0.5772 MB / 0.5385 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/1.334, allocations: 156.4 kB / 0.5386 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/1.335, allocations: 9.844 kB / 0.5386 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/1.337, allocations: 47.94 kB / 0.5387 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/1.338, allocations: 22.2 kB / 0.5387 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/1.341, allocations: 15.5 kB / 0.5387 GB, free: 102.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004259/1.341, allocations: 300.6 kB / 0.539 GB, free: 102.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.04e-07/1.341, allocations: 7.188 kB / 0.539 GB, free: 102.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007256/1.342, allocations: 159.7 kB / 0.5392 GB, free: 102.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (PulmonaryArteries.state,PulmonaryVeins.state,SystemicVeins.state,SystemicArteries.state) * Number of discrete variables: 10 (leftHeart.pulses.b,rightHeart.pulses.b,$whenCondition2,$whenCondition1,rightHeart.pulses.T0,rightHeart.pulses.HP,rightHeart.pulses.TD2,leftHeart.pulses.T0,leftHeart.pulses.HP,leftHeart.pulses.TD2) * Number of discrete states: 4 (rightHeart.pulses.T0,rightHeart.pulses.HP,leftHeart.pulses.T0,leftHeart.pulses.HP) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002447/1.342, allocations: 147.3 kB / 0.5393 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006817/1.343, allocations: 284.2 kB / 0.5396 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.068e-06/1.343, allocations: 0 / 0.5396 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/1.343, allocations: 148.9 kB / 0.5397 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/1.344, allocations: 120.6 kB / 0.5398 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/1.346, allocations: 0.6176 MB / 0.5404 GB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/1.346, allocations: 0.8624 MB / 0.5413 GB, free: 101.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000416/1.346, allocations: 64.3 kB / 0.5413 GB, free: 101.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/1.347, allocations: 45.03 kB / 0.5414 GB, free: 101.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.846e-06/1.347, allocations: 3.75 kB / 0.5414 GB, free: 101.5 MB / 426.7 MB Notification: Performance of Templates: time 0.0157/1.362, allocations: 6.193 MB / 0.5474 GB, free: 101.1 MB / 426.7 MB