Notification: Performance of FrontEnd - loaded program: time 2.032e-05/2.053e-05, allocations: 0 / 336.7 MB, free: 7.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2415, allocations: 44.51 MB / 381.2 MB, free: 77.33 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.3539, allocations: 79.16 MB / 460.3 MB, free: 7.301 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.3542, allocations: 83.95 kB / 460.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06693/0.4211, allocations: 14.61 MB / 475 MB, free: 8.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.511e-06/0.4212, allocations: 0 / 475 MB, free: 8.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001071/0.4213, allocations: 20 kB / 475 MB, free: 8.477 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003843/0.4252, allocations: 1.047 MB / 476.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.4252, allocations: 8.031 kB / 476.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/0.4257, allocations: 118.6 kB / 476.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.4281, allocations: 0.6331 MB / 476.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.49e-05/0.4282, allocations: 41.94 kB / 476.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.4285, allocations: 52 kB / 476.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003072/0.4316, allocations: 0.6171 MB / 477.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/0.4348, allocations: 0.7836 MB / 478.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.871e-05/0.4349, allocations: 0 / 478.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.4351, allocations: 4 kB / 478.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/0.4352, allocations: 27.95 kB / 478.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.4466, allocations: 3.515 MB / 481.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.4495, allocations: 0.7254 MB / 482.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.4511, allocations: 420.4 kB / 483 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.802e-05/0.4512, allocations: 12.77 kB / 483 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/0.4529, allocations: 419.8 kB / 483.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 6.991e-06/0.4529, allocations: 0 / 483.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=81): time 0.00366/0.4566, allocations: 0.7743 MB / 484.2 MB, free: 15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.4568, allocations: 119.6 kB / 484.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.4581, allocations: 433.9 kB / 484.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.4582, allocations: 33.7 kB / 484.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/0.4588, allocations: 364.3 kB / 485.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.4593, allocations: 232.7 kB / 485.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/0.4594, allocations: 0 / 485.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003142/0.4597, allocations: 374.7 kB / 485.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.4608, allocations: 225.6 kB / 486 MB, free: 13.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.462, allocations: 370.8 kB / 486.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4631, allocations: 236.5 kB / 486.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.701e-06/0.4631, allocations: 4 kB / 486.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003429/0.4666, allocations: 0.7875 MB / 487.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008799/0.4675, allocations: 1.348 MB / 488.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.4675, allocations: 0 / 488.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/0.4698, allocations: 308.6 kB / 489 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/0.4707, allocations: 95.83 kB / 489.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.4821, allocations: 3.524 MB / 492.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4834, allocations: 71.45 kB / 492.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.4836, allocations: 28 kB / 492.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4836, allocations: 4 kB / 492.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003213/0.4869, allocations: 0.7105 MB / 493.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.4869, allocations: 4 kB / 493.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.489, allocations: 301 kB / 493.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/0.4898, allocations: 87.83 kB / 493.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.5012, allocations: 3.545 MB / 497.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.5024, allocations: 47.58 kB / 497.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.5026, allocations: 24 kB / 497.4 MB, free: 1.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004346/0.503, allocations: 142 kB / 497.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/0.5033, allocations: 71.16 kB / 497.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.5037, allocations: 79.23 kB / 497.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.5037, allocations: 8 kB / 497.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.665e-06/0.5038, allocations: 0 / 497.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/0.5038, allocations: 7.938 kB / 497.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/0.5103, allocations: 1.724 MB / 499.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.5103, allocations: 0 / 499.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007588/0.5111, allocations: 63.91 kB / 499.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00211/0.5133, allocations: 301.5 kB / 499.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.212e-05/0.5134, allocations: 4 kB / 499.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007127/0.5205, allocations: 3.52 MB / 0.4915 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.72e-06/0.5206, allocations: 4 kB / 0.4915 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/0.5376, allocations: 8.082 MB / 0.4994 GB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004461/0.5381, allocations: 240 kB / 0.4997 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5382, allocations: 4 kB / 0.4997 GB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.5388, allocations: 32.03 kB / 0.4997 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.5391, allocations: 80.66 kB / 0.4998 GB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.097e-05/0.5391, allocations: 23.98 kB / 0.4998 GB, free: 2.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005576/0.5397, allocations: 319 kB / 0.5001 GB, free: 2.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.77e-07/0.5397, allocations: 0 / 0.5001 GB, free: 2.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002284/0.542, allocations: 0.534 MB / 0.5006 GB, free: 1.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * Number of discrete variables: 26 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002465/0.5423, allocations: 126.3 kB / 0.5007 GB, free: 1.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.137/0.6793, allocations: 1.659 MB / 0.5024 GB, free: 102.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.6794, allocations: 0.5625 kB / 0.5024 GB, free: 102.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.6818, allocations: 0.6207 MB / 0.503 GB, free: 102.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6832, allocations: 112.3 kB / 0.5031 GB, free: 102.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/0.6903, allocations: 1.831 MB / 0.5049 GB, free: 101.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.6916, allocations: 1.04 MB / 0.5059 GB, free: 101.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.6927, allocations: 87.59 kB / 0.506 GB, free: 101.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.6929, allocations: 38.72 kB / 0.506 GB, free: 101.1 MB / 366.1 MB Notification: Performance of SimCode: time 1.643e-06/0.6929, allocations: 0 / 0.506 GB, free: 101.1 MB / 366.1 MB Notification: Performance of Templates: time 0.0626/0.7555, allocations: 16.61 MB / 0.5222 GB, free: 99.58 MB / 366.1 MB