Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.042e-05, allocations: 4 kB / 370.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2044, allocations: 44.52 MB / 415 MB, free: 81.96 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.5629, allocations: 110.6 MB / 0.5133 GB, free: 25.06 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003759/0.5633, allocations: 83.2 kB / 0.5134 GB, free: 25.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8303/1.394, allocations: 167 MB / 0.6764 GB, free: 51.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.649e-06/1.394, allocations: 0 / 0.6764 GB, free: 51.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005756/1.394, allocations: 175.2 kB / 0.6766 GB, free: 51.25 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1927 * Number of variables: 1927 Notification: Performance of Generate backend data structure: time 0.02967/1.424, allocations: 6.734 MB / 0.6831 GB, free: 48.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.424, allocations: 9.656 kB / 0.6831 GB, free: 48.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01985/1.444, allocations: 1.596 MB / 0.6847 GB, free: 48.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02311/1.467, allocations: 5.895 MB / 0.6905 GB, free: 47.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006353/1.468, allocations: 313.5 kB / 0.6908 GB, free: 47.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002855/1.471, allocations: 432.3 kB / 0.6912 GB, free: 47.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02496/1.496, allocations: 7.086 MB / 0.6981 GB, free: 47.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03313/1.529, allocations: 8.283 MB / 0.7062 GB, free: 45.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003448/1.529, allocations: 21.53 kB / 0.7062 GB, free: 45.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002072/1.531, allocations: 3.75 kB / 0.7062 GB, free: 45.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004444/1.532, allocations: 340.1 kB / 0.7065 GB, free: 45.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05958/1.591, allocations: 29.18 MB / 0.735 GB, free: 29.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.606, allocations: 15.81 MB / 0.7505 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005311/1.612, allocations: 2.908 MB / 0.7533 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01614/1.628, allocations: 7.9 MB / 0.761 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/1.628, allocations: 71.92 kB / 0.7611 GB, free: 4.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=283): time 6.318e-06/1.628, allocations: 4 kB / 0.7611 GB, free: 4.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=291): time 0.02438/1.652, allocations: 8.782 MB / 0.7697 GB, free: 12.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/1.652, allocations: 81.7 kB / 0.7697 GB, free: 12.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005402/1.658, allocations: 2.509 MB / 0.7722 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003991/1.658, allocations: 29.7 kB / 0.7722 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002867/1.661, allocations: 3.187 MB / 0.7753 GB, free: 7.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.662, allocations: 0.9653 MB / 0.7763 GB, free: 6.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/1.663, allocations: 0 / 0.7763 GB, free: 6.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004343/1.663, allocations: 451.3 kB / 0.7767 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/1.667, allocations: 1.326 MB / 0.778 GB, free: 5.105 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005845/1.673, allocations: 2.426 MB / 0.7804 GB, free: 2.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008724/1.681, allocations: 2.119 MB / 0.7824 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.063e-05/1.682, allocations: 8 kB / 0.7824 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.1902/1.872, allocations: 5.162 MB / 0.7875 GB, free: 61.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.595e-05/1.872, allocations: 19.88 kB / 0.7875 GB, free: 61.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/1.872, allocations: 37.25 kB / 0.7875 GB, free: 61.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/1.874, allocations: 385.5 kB / 0.7879 GB, free: 61.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007861/1.882, allocations: 0.8656 MB / 0.7888 GB, free: 61.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/1.893, allocations: 7.047 MB / 0.7956 GB, free: 57.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005439/1.898, allocations: 103 kB / 0.7957 GB, free: 57.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006433/1.899, allocations: 167.3 kB / 0.7959 GB, free: 57.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (451): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009041/1.9, allocations: 211.2 kB / 0.7961 GB, free: 56.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009928/1.901, allocations: 354.9 kB / 0.7964 GB, free: 56.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.912, allocations: 4.349 MB / 0.8007 GB, free: 56.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/1.912, allocations: 26.41 kB / 0.8007 GB, free: 56.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/1.913, allocations: 11 kB / 0.8007 GB, free: 56.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.65e-05/1.913, allocations: 18.66 kB / 0.8007 GB, free: 56.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/1.934, allocations: 9.469 MB / 0.81 GB, free: 55.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/1.934, allocations: 5.812 kB / 0.81 GB, free: 55.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00269/1.937, allocations: 441.3 kB / 0.8104 GB, free: 55.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/1.94, allocations: 0.8626 MB / 0.8113 GB, free: 55.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003034/1.94, allocations: 33.95 kB / 0.8113 GB, free: 55.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/1.958, allocations: 15.68 MB / 0.8266 GB, free: 46.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.143e-06/1.958, allocations: 3.625 kB / 0.8266 GB, free: 46.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0854/2.043, allocations: 42.73 MB / 0.8683 GB, free: 25.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003372/2.046, allocations: 0.7494 MB / 0.8691 GB, free: 25.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/2.048, allocations: 21.25 kB / 0.8691 GB, free: 25.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003927/2.052, allocations: 106.8 kB / 0.8692 GB, free: 25.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008178/2.053, allocations: 229.8 kB / 0.8694 GB, free: 25.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003683/2.053, allocations: 78.64 kB / 0.8695 GB, free: 25.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00501/2.058, allocations: 1.851 MB / 0.8713 GB, free: 24.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.006e-06/2.058, allocations: 2.203 kB / 0.8713 GB, free: 24.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01111/2.069, allocations: 1.472 MB / 0.8727 GB, free: 24.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 213 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/2.071, allocations: 0.5131 MB / 0.8732 GB, free: 24.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009771/2.081, allocations: 3.958 MB / 0.8771 GB, free: 22.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/2.081, allocations: 3.75 kB / 0.8771 GB, free: 22.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007081/2.088, allocations: 2.782 MB / 0.8798 GB, free: 20.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007674/2.095, allocations: 0.753 MB / 0.8805 GB, free: 20.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03976/2.135, allocations: 13.06 MB / 0.8933 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01028/2.146, allocations: 4.551 MB / 0.8977 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.006512/2.152, allocations: 0.8615 MB / 0.8986 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/2.154, allocations: 257.5 kB / 0.8988 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.423e-06/2.154, allocations: 0 / 0.8988 GB, free: 12.25 MB / 414.1 MB Notification: Performance of Templates: time 0.3417/2.495, allocations: 54.48 MB / 0.952 GB, free: 69.02 MB / 430.1 MB