Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.225e-05, allocations: 4 kB / 362.3 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2209, allocations: 44.51 MB / 406.8 MB, free: 83.05 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.5593, allocations: 103 MB / 0.4978 GB, free: 43.48 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.5596, allocations: 84.7 kB / 0.4979 GB, free: 43.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2686/0.8281, allocations: 79.21 MB / 0.5753 GB, free: 5.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.778e-06/0.8282, allocations: 4 kB / 0.5753 GB, free: 5.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003217/0.8285, allocations: 79.88 kB / 0.5754 GB, free: 5.242 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01373/0.8423, allocations: 3.279 MB / 0.5786 GB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.8424, allocations: 8.031 kB / 0.5786 GB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007639/0.85, allocations: 0.7295 MB / 0.5793 GB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/0.8649, allocations: 3.336 MB / 0.5825 GB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/0.8653, allocations: 134.3 kB / 0.5827 GB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/0.8668, allocations: 195.8 kB / 0.5829 GB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01253/0.8793, allocations: 3.156 MB / 0.5859 GB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.894, allocations: 3.645 MB / 0.5895 GB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.8942, allocations: 3.953 kB / 0.5895 GB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005405/0.8947, allocations: 4 kB / 0.5895 GB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002574/0.895, allocations: 142.2 kB / 0.5896 GB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03559/0.9306, allocations: 12.96 MB / 0.6023 GB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007937/0.9386, allocations: 6.735 MB / 0.6089 GB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/0.9416, allocations: 1.307 MB / 0.6102 GB, free: 140 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008156/0.9498, allocations: 3.509 MB / 0.6136 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.9499, allocations: 55.88 kB / 0.6136 GB, free: 12.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 4.275e-06/0.9499, allocations: 0 / 0.6136 GB, free: 12.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=142): time 0.01451/0.9644, allocations: 5.182 MB / 0.6187 GB, free: 7.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.9645, allocations: 72.66 kB / 0.6188 GB, free: 7.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.9675, allocations: 1.338 MB / 0.6201 GB, free: 5.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002475/0.9678, allocations: 25.7 kB / 0.6201 GB, free: 5.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.9692, allocations: 1.434 MB / 0.6215 GB, free: 4.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005596/0.9698, allocations: 473 kB / 0.6219 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.9699, allocations: 0 / 0.6219 GB, free: 3.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.9701, allocations: 377.9 kB / 0.6223 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.9716, allocations: 0.6795 MB / 0.623 GB, free: 2.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.9734, allocations: 1.118 MB / 0.6241 GB, free: 1.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.9759, allocations: 1.021 MB / 0.6251 GB, free: 436 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.9759, allocations: 4 kB / 0.6251 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006143/0.9821, allocations: 2.5 MB / 0.6275 GB, free: 13.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.9821, allocations: 11.98 kB / 0.6275 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.9822, allocations: 16 kB / 0.6275 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.9839, allocations: 493.1 kB / 0.628 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.9859, allocations: 391.4 kB / 0.6284 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.9961, allocations: 6.124 MB / 0.6344 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.9979, allocations: 43.88 kB / 0.6344 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.9981, allocations: 72.14 kB / 0.6345 GB, free: 6.527 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003691/0.9985, allocations: 156.4 kB / 0.6346 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003935/0.9989, allocations: 177.8 kB / 0.6348 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005938/1.005, allocations: 2.401 MB / 0.6371 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/1.005, allocations: 15.94 kB / 0.6371 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.005, allocations: 8 kB / 0.6371 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/1.005, allocations: 7.984 kB / 0.6372 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.153/1.158, allocations: 4.958 MB / 0.642 GB, free: 81.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.158, allocations: 5.312 kB / 0.642 GB, free: 81.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.159, allocations: 215.8 kB / 0.6422 GB, free: 81.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/1.161, allocations: 490.9 kB / 0.6427 GB, free: 81.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/1.161, allocations: 19.06 kB / 0.6427 GB, free: 81.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.172, allocations: 10.02 MB / 0.6525 GB, free: 75.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.519e-06/1.172, allocations: 6.875 kB / 0.6525 GB, free: 75.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04087/1.213, allocations: 26.06 MB / 0.6779 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008235/1.214, allocations: 432.9 kB / 0.6784 GB, free: 66.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/1.214, allocations: 12.59 kB / 0.6784 GB, free: 66.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.215, allocations: 49.41 kB / 0.6784 GB, free: 66.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/1.216, allocations: 107.8 kB / 0.6785 GB, free: 66.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.216, allocations: 41.05 kB / 0.6786 GB, free: 66.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001725/1.217, allocations: 1.01 MB / 0.6795 GB, free: 66.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.33e-07/1.217, allocations: 3.938 kB / 0.6795 GB, free: 66.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00341/1.221, allocations: 0.7275 MB / 0.6803 GB, free: 66.4 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005534/1.221, allocations: 326.2 kB / 0.6806 GB, free: 66.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003984/1.225, allocations: 2.165 MB / 0.6827 GB, free: 66.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.533e-06/1.225, allocations: 0 / 0.6827 GB, free: 66.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002527/1.228, allocations: 1.595 MB / 0.6842 GB, free: 65.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/1.23, allocations: 365.1 kB / 0.6846 GB, free: 65.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/1.243, allocations: 6.425 MB / 0.6909 GB, free: 62.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/1.246, allocations: 2.476 MB / 0.6933 GB, free: 61.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001987/1.248, allocations: 395 kB / 0.6937 GB, free: 61.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/1.248, allocations: 123.2 kB / 0.6938 GB, free: 61.34 MB / 398.1 MB Notification: Performance of SimCode: time 1.315e-06/1.248, allocations: 0 / 0.6938 GB, free: 61.34 MB / 398.1 MB Notification: Performance of Templates: time 0.06954/1.318, allocations: 28.8 MB / 0.7219 GB, free: 57.48 MB / 398.1 MB