Notification: Performance of loadModel(Modelica): time 0.9667/0.9667, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.435e-05, allocations: 6.656 kB / 145.9 MB, free: 4.047 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 25.15 MB / 171.1 MB, free: 1.734 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06554/0.1872, allocations: 38.15 MB / 209.2 MB, free: 15.36 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.1875, allocations: 67.95 kB / 209.3 MB, free: 15.29 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.07033/0.2578, allocations: 13.56 MB / 222.9 MB, free: 1.695 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.47e-05/0.2579, allocations: 12 kB / 222.9 MB, free: 1.684 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.006229/0.2642, allocations: 1.257 MB / 224.1 MB, free: 388 kB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.2642, allocations: 8.031 kB / 224.1 MB, free: 380 kB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/0.2647, allocations: 90.88 kB / 224.2 MB, free: 288 kB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.2658, allocations: 468.5 kB / 224.7 MB, free: 15.78 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.2658, allocations: 28 kB / 224.7 MB, free: 15.75 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.2661, allocations: 39.98 kB / 224.7 MB, free: 15.71 MB / 202.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002395/0.2685, allocations: 0.8031 MB / 225.5 MB, free: 14.91 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.2706, allocations: 0.6637 MB / 226.2 MB, free: 14.24 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.2707, allocations: 3.938 kB / 226.2 MB, free: 14.24 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.2708, allocations: 0 / 226.2 MB, free: 14.24 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.2708, allocations: 19.98 kB / 226.2 MB, free: 14.22 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.2809, allocations: 3.081 MB / 229.3 MB, free: 10.99 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.2828, allocations: 0.6094 MB / 229.9 MB, free: 10.37 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.284, allocations: 414.5 kB / 230.3 MB, free: 9.961 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.2841, allocations: 20.48 kB / 230.3 MB, free: 9.941 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/0.2856, allocations: 0.5257 MB / 230.9 MB, free: 9.387 MB / 202.7 MB Notification: Performance of pre-optimization done (n=69): time 3.467e-06/0.2856, allocations: 4 kB / 230.9 MB, free: 9.383 MB / 202.7 MB Notification: Performance of matching and sorting (n=71): time 0.01828/0.3039, allocations: 3.181 MB / 234.1 MB, free: 6.137 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.304, allocations: 141.3 kB / 234.2 MB, free: 5.965 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.3048, allocations: 385.3 kB / 234.6 MB, free: 5.582 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.3051, allocations: 29.69 kB / 234.6 MB, free: 5.547 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.3054, allocations: 340.1 kB / 234.9 MB, free: 5.207 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.3057, allocations: 224.7 kB / 235.2 MB, free: 4.984 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.3058, allocations: 3.938 kB / 235.2 MB, free: 4.98 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.306, allocations: 378.7 kB / 235.5 MB, free: 4.602 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000919/0.307, allocations: 333.5 kB / 235.9 MB, free: 4.277 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.308, allocations: 455 kB / 236.3 MB, free: 3.793 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.3093, allocations: 382.5 kB / 236.7 MB, free: 3.422 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3094, allocations: 4 kB / 236.7 MB, free: 3.418 MB / 202.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01131/0.3207, allocations: 1.903 MB / 238.6 MB, free: 1.496 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.3208, allocations: 8 kB / 238.6 MB, free: 1.488 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3208, allocations: 3.984 kB / 238.6 MB, free: 1.484 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009187/0.33, allocations: 1.228 MB / 239.8 MB, free: 252 kB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.3321, allocations: 227.7 kB / 240 MB, free: 24 kB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006471/0.3386, allocations: 3.587 MB / 243.6 MB, free: 12.27 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/0.3414, allocations: 203.8 kB / 243.8 MB, free: 12.07 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.3416, allocations: 31.94 kB / 243.9 MB, free: 12.04 MB / 218.7 MB Warning: Assuming fixed start value for the following 10 variables: V1.signalSource.counter:DISCRETE(start = V1.signalSource.nperiod fixed = false protected = true ) "Period counter" type: Integer V2.signalSource.counter:DISCRETE(start = V2.signalSource.nperiod fixed = false protected = true ) "Period counter" type: Integer T2.vbc:VARIABLE() type: Real T1.vbc:VARIABLE() type: Real C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real V2.signalSource.counter2:DISCRETE(start = V2.signalSource.nperiod fixed = false protected = true ) type: Integer V2.signalSource.T0:DISCRETE(start = V2.signalSource.startTime unit = "s" fixed = false protected = true ) "Start time of current period" type: Real V1.signalSource.counter2:DISCRETE(start = V1.signalSource.nperiod fixed = false protected = true ) type: Integer V1.signalSource.T0:DISCRETE(start = V1.signalSource.startTime unit = "s" fixed = false protected = true ) "Start time of current period" type: Real HeatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, 1.0))) max = min(6000.0, min(6000.0, min(6000.0, 6000.0))) start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.V1.signalSource.counter,V1.signalSource.counter,$PRE.V2.signalSource.counter,V2.signalSource.counter,$whenCondition2,$whenCondition1,$PRE.V1.signalSource.T0,V1.signalSource.T0,$PRE.V1.signalSource.counter2,V1.signalSource.counter2,$PRE.V2.signalSource.T0,V2.signalSource.T0,$PRE.V2.signalSource.counter2,V2.signalSource.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 9} * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005201/0.3421, allocations: 171.8 kB / 244 MB, free: 11.87 MB / 218.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009577/0.3517, allocations: 1.633 MB / 245.7 MB, free: 10.22 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/0.3522, allocations: 71.14 kB / 245.7 MB, free: 10.15 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00935/0.3615, allocations: 1.648 MB / 247.4 MB, free: 8.48 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.3616, allocations: 11.95 kB / 247.4 MB, free: 8.469 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3616, allocations: 4 kB / 247.4 MB, free: 8.465 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.3616, allocations: 3.984 kB / 247.4 MB, free: 8.461 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.3634, allocations: 0.8147 MB / 248.2 MB, free: 7.609 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3635, allocations: 4 kB / 248.2 MB, free: 7.605 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/0.3653, allocations: 175.8 kB / 248.4 MB, free: 7.434 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009244/0.3746, allocations: 1.244 MB / 249.6 MB, free: 6.18 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/0.3748, allocations: 11.97 kB / 249.6 MB, free: 6.168 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/0.3809, allocations: 3.614 MB / 253.3 MB, free: 2.383 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3809, allocations: 0 / 253.3 MB, free: 2.383 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.3912, allocations: 2.098 MB / 255.4 MB, free: 260 kB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/0.3918, allocations: 236.2 kB / 255.6 MB, free: 4 kB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.08649/0.4784, allocations: 11.17 kB / 255.6 MB, free: 65.18 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/0.4809, allocations: 198.9 kB / 255.8 MB, free: 65.18 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.4811, allocations: 55.75 kB / 255.8 MB, free: 65.18 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.4812, allocations: 29.3 kB / 255.9 MB, free: 65.18 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0003806/0.4816, allocations: 287.6 kB / 256.2 MB, free: 65.09 MB / 218.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4816, allocations: 2.781 kB / 256.2 MB, free: 65.09 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.000957/0.4826, allocations: 204 kB / 256.4 MB, free: 65.09 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (HeatCapacitor1.T,C2.v,T1.vbc,T2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,V1.signalSource.T0,V1.signalSource.counter,V1.signalSource.counter2,V2.signalSource.T0,V2.signalSource.counter,V2.signalSource.counter2) * Number of discrete states: 4 (V2.signalSource.counter,V1.signalSource.counter,V2.signalSource.counter2,V1.signalSource.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 9} * Non-linear torn systems: 2 {1 12,1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.009641/0.4923, allocations: 2.678 MB / 259 MB, free: 64.48 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.4951, allocations: 1.025 MB / 260.1 MB, free: 64.36 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4952, allocations: 3.188 kB / 260.1 MB, free: 64.36 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.4969, allocations: 0.6151 MB / 260.7 MB, free: 64.24 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.4981, allocations: 121.3 kB / 260.8 MB, free: 64.24 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.5013, allocations: 1.165 MB / 262 MB, free: 63.91 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.5017, allocations: 0.9378 MB / 262.9 MB, free: 63.21 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0005909/0.5024, allocations: 60.3 kB / 263 MB, free: 63.2 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005459/0.5029, allocations: 256.7 kB / 263.2 MB, free: 63.2 MB / 218.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5029, allocations: 3.969 kB / 263.2 MB, free: 63.2 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07939/0.5823, allocations: 18.62 MB / 281.8 MB, free: 54.22 MB / 218.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.003993/0.5864, allocations: 137.2 kB / 282 MB, free: 54.04 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.992/4.579, allocations: 7.938 kB / 282 MB, free: 54.03 MB / 218.7 MB