Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.03e-05, allocations: 7.938 kB / 337 MB, free: 7.082 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2427, allocations: 44.5 MB / 381.5 MB, free: 77.57 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.36, allocations: 79.47 MB / 461 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.3603, allocations: 83.95 kB / 461 MB, free: 6.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05136/0.4117, allocations: 14.94 MB / 476 MB, free: 7.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.652e-06/0.4117, allocations: 0 / 476 MB, free: 7.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.684e-05/0.4118, allocations: 31.92 kB / 476 MB, free: 7.812 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002346/0.4142, allocations: 1.059 MB / 477.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4142, allocations: 12.02 kB / 477.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.4145, allocations: 114.7 kB / 477.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.4159, allocations: 0.6331 MB / 477.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.416, allocations: 38 kB / 477.9 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.4162, allocations: 67.89 kB / 477.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00176/0.418, allocations: 0.621 MB / 478.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.4199, allocations: 0.7954 MB / 479.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.42, allocations: 7.938 kB / 479.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-05/0.4201, allocations: 7.953 kB / 479.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.4201, allocations: 20 kB / 479.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006605/0.4267, allocations: 3.569 MB / 483 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.4284, allocations: 0.7177 MB / 483.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.4294, allocations: 443.1 kB / 484.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/0.4295, allocations: 16.7 kB / 484.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000954/0.4305, allocations: 423.8 kB / 484.5 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=83): time 3.55e-06/0.4305, allocations: 0 / 484.5 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.001916/0.4324, allocations: 0.7276 MB / 485.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/0.4326, allocations: 115.6 kB / 485.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007821/0.4333, allocations: 438 kB / 485.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.4335, allocations: 29.7 kB / 485.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.4338, allocations: 372.3 kB / 486.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.4341, allocations: 244.5 kB / 486.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.4342, allocations: 0 / 486.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.4344, allocations: 374.8 kB / 486.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/0.435, allocations: 226.1 kB / 487 MB, free: 12.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.4358, allocations: 382.1 kB / 487.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.4364, allocations: 240.5 kB / 487.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.398e-06/0.4365, allocations: 0 / 487.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00207/0.4385, allocations: 0.798 MB / 488.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006847/0.4392, allocations: 1.35 MB / 489.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.4393, allocations: 4 kB / 489.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4404, allocations: 284.6 kB / 490.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.441, allocations: 107.8 kB / 490.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007004/0.4481, allocations: 4.417 MB / 494.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008055/0.4489, allocations: 87.47 kB / 494.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/0.449, allocations: 28 kB / 494.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.449, allocations: 4 kB / 494.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00191/0.451, allocations: 0.7036 MB / 495.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.451, allocations: 11.94 kB / 495.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.4521, allocations: 281.5 kB / 495.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.4526, allocations: 99.83 kB / 495.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006965/0.4596, allocations: 4.418 MB / 0.4885 GB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007065/0.4603, allocations: 55.56 kB / 0.4885 GB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/0.4604, allocations: 27.98 kB / 0.4886 GB, free: 14.54 MB / 366.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 (70): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002947/0.4608, allocations: 142 kB / 0.4887 GB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.4609, allocations: 75.11 kB / 0.4888 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.4612, allocations: 83.36 kB / 0.4889 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.4612, allocations: 8 kB / 0.4889 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.988e-06/0.4612, allocations: 4 kB / 0.4889 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.4612, allocations: 7.984 kB / 0.4889 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/0.4649, allocations: 1.735 MB / 0.4906 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.357e-06/0.465, allocations: 3.953 kB / 0.4906 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.4655, allocations: 75.89 kB / 0.4906 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.4666, allocations: 276.1 kB / 0.4909 GB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.4667, allocations: 7.984 kB / 0.4909 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006957/0.4737, allocations: 4.413 MB / 0.4952 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4737, allocations: 0 / 0.4952 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1392/0.6129, allocations: 8.913 MB / 0.5039 GB, free: 99.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.6134, allocations: 236.4 kB / 0.5042 GB, free: 99.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.6135, allocations: 3.828 kB / 0.5042 GB, free: 99.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.6141, allocations: 31.05 kB / 0.5042 GB, free: 99.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.6144, allocations: 83.09 kB / 0.5043 GB, free: 99.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/0.6145, allocations: 22.16 kB / 0.5043 GB, free: 99.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005293/0.615, allocations: 320.4 kB / 0.5046 GB, free: 99.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.18e-07/0.615, allocations: 0 / 0.5046 GB, free: 99.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002639/0.6177, allocations: 0.5405 MB / 0.5051 GB, free: 99.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * 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 (55): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002336/0.6179, allocations: 140 kB / 0.5053 GB, free: 99.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003385/0.6213, allocations: 1.824 MB / 0.507 GB, free: 98.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.747e-06/0.6214, allocations: 1.875 kB / 0.507 GB, free: 98.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.6226, allocations: 0.696 MB / 0.5077 GB, free: 98.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.6234, allocations: 107.9 kB / 0.5078 GB, free: 98.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.6278, allocations: 1.964 MB / 0.5097 GB, free: 97.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008486/0.6287, allocations: 1.042 MB / 0.5108 GB, free: 97.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006965/0.6294, allocations: 92.48 kB / 0.5108 GB, free: 97.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.6296, allocations: 41.44 kB / 0.5109 GB, free: 97.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.338e-06/0.6296, allocations: 4.219 kB / 0.5109 GB, free: 97.27 MB / 366.1 MB Notification: Performance of Templates: time 0.04248/0.6721, allocations: 16.07 MB / 0.5266 GB, free: 95.95 MB / 366.1 MB