Notification: Performance of FrontEnd - loaded program: time 2.603e-05/2.62e-05, allocations: 5.016 kB / 352 MB, free: 7.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2143, allocations: 44.51 MB / 396.5 MB, free: 83.72 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.3543, allocations: 93.76 MB / 490.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.3546, allocations: 83.94 kB / 490.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2549/0.6096, allocations: 29.89 MB / 0.508 GB, free: 90.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.998e-06/0.6096, allocations: 0 / 0.508 GB, free: 90.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.336e-05/0.6097, allocations: 24.88 kB / 0.508 GB, free: 90.81 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.002299/0.612, allocations: 1.339 MB / 0.5093 GB, free: 90.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.6121, allocations: 11.88 kB / 0.5094 GB, free: 90.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/0.6128, allocations: 278.2 kB / 0.5096 GB, free: 89.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.6147, allocations: 0.8345 MB / 0.5104 GB, free: 89.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.6148, allocations: 88.48 kB / 0.5105 GB, free: 89.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.615, allocations: 65.7 kB / 0.5106 GB, free: 89.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001657/0.6167, allocations: 0.6414 MB / 0.5112 GB, free: 89.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.6187, allocations: 0.927 MB / 0.5121 GB, free: 89.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.908e-05/0.6188, allocations: 7.672 kB / 0.5121 GB, free: 89.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6189, allocations: 0 / 0.5121 GB, free: 89.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.6189, allocations: 26.94 kB / 0.5121 GB, free: 89.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00669/0.6256, allocations: 3.709 MB / 0.5158 GB, free: 87.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.6273, allocations: 0.5188 MB / 0.5163 GB, free: 87.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/0.6277, allocations: 223.7 kB / 0.5165 GB, free: 87.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.529e-05/0.6278, allocations: 9.031 kB / 0.5165 GB, free: 87.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005322/0.6284, allocations: 252.3 kB / 0.5167 GB, free: 87.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 3.638e-06/0.6284, allocations: 0 / 0.5167 GB, free: 87.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.003339/0.6317, allocations: 1.395 MB / 0.5181 GB, free: 86.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/0.6319, allocations: 483 kB / 0.5186 GB, free: 85.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.6332, allocations: 0.7273 MB / 0.5193 GB, free: 85.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.6334, allocations: 28.98 kB / 0.5193 GB, free: 85.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/0.6339, allocations: 0.6464 MB / 0.5199 GB, free: 84.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.6341, allocations: 228 kB / 0.5201 GB, free: 84.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.6341, allocations: 0 / 0.5201 GB, free: 84.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.6342, allocations: 345.6 kB / 0.5205 GB, free: 84.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.6348, allocations: 199.9 kB / 0.5207 GB, free: 84.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007632/0.6355, allocations: 0.6454 MB / 0.5213 GB, free: 83.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.6362, allocations: 303.3 kB / 0.5216 GB, free: 83.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.673e-06/0.6362, allocations: 3.812 kB / 0.5216 GB, free: 83.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002455/0.6387, allocations: 0.9444 MB / 0.5225 GB, free: 83.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.6388, allocations: 70.77 kB / 0.5226 GB, free: 82.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.6388, allocations: 10.75 kB / 0.5226 GB, free: 82.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.6399, allocations: 185 kB / 0.5228 GB, free: 82.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.6413, allocations: 215 kB / 0.523 GB, free: 82.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005925/0.6472, allocations: 3.408 MB / 0.5263 GB, free: 79.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.649, allocations: 60.92 kB / 0.5264 GB, free: 79.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.6491, allocations: 48.81 kB / 0.5264 GB, free: 79.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 2 * 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: 2 {(1,100.0%) 1,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002779/0.6494, allocations: 146 kB / 0.5265 GB, free: 79.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.6497, allocations: 104.4 kB / 0.5266 GB, free: 79.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.6519, allocations: 0.6261 MB / 0.5273 GB, free: 79.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.652, allocations: 5.062 kB / 0.5273 GB, free: 79.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.216e-06/0.652, allocations: 3.344 kB / 0.5273 GB, free: 79.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001776/0.6538, allocations: 0.8807 MB / 0.5281 GB, free: 78.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.6583, allocations: 1.595 MB / 0.5297 GB, free: 77.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.6584, allocations: 6.062 kB / 0.5297 GB, free: 77.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/0.6593, allocations: 114.3 kB / 0.5298 GB, free: 77.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007808/0.6601, allocations: 122.3 kB / 0.5299 GB, free: 77.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.6602, allocations: 7.562 kB / 0.5299 GB, free: 77.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/0.6646, allocations: 3.154 MB / 0.533 GB, free: 74.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-06/0.6646, allocations: 3.953 kB / 0.533 GB, free: 74.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/0.6834, allocations: 7.902 MB / 0.5407 GB, free: 66.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/0.6842, allocations: 231.6 kB / 0.5409 GB, free: 66.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.6845, allocations: 7.703 kB / 0.5409 GB, free: 66.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6856, allocations: 34.12 kB / 0.541 GB, free: 66.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.6858, allocations: 61.22 kB / 0.541 GB, free: 66.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/0.6859, allocations: 23.8 kB / 0.5411 GB, free: 66.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001307/0.6872, allocations: 0.5345 MB / 0.5416 GB, free: 66.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.51e-07/0.6873, allocations: 0 / 0.5416 GB, free: 66.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003083/0.6903, allocations: 407.5 kB / 0.542 GB, free: 65.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006264/0.691, allocations: 316.5 kB / 0.5423 GB, free: 65.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002916/0.6939, allocations: 0.9525 MB / 0.5432 GB, free: 64.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/0.694, allocations: 3.906 kB / 0.5432 GB, free: 64.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.6952, allocations: 0.5018 MB / 0.5437 GB, free: 63.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.6974, allocations: 252 kB / 0.5439 GB, free: 63.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/0.7035, allocations: 2.177 MB / 0.5461 GB, free: 61.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009204/0.7044, allocations: 1.124 MB / 0.5472 GB, free: 60.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001188/0.7056, allocations: 130.8 kB / 0.5473 GB, free: 60.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.706, allocations: 74.34 kB / 0.5474 GB, free: 60.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.822e-06/0.706, allocations: 3.938 kB / 0.5474 GB, free: 60.51 MB / 350.1 MB Notification: Performance of Templates: time 0.05013/0.7561, allocations: 15.54 MB / 0.5625 GB, free: 45.51 MB / 350.1 MB