Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking") Notification: Performance of loadModel(Modelica): time 1.854/1.854, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.89e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.076/0.07605, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.4612, allocations: 109.5 MB / 409.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/0.4616, allocations: 87.5 kB / 409.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.314/0.7756, allocations: 76.77 MB / 486.3 MB, free: 1.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.7e-06/0.7757, allocations: 4 kB / 486.3 MB, free: 1.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002556/0.7759, allocations: 79.94 kB / 486.4 MB, free: 1.469 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.009438/0.7854, allocations: 3.192 MB / 489.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.7854, allocations: 12.03 kB / 489.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003991/0.7894, allocations: 0.5936 MB / 490.2 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.7998, allocations: 3.127 MB / 493.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.8001, allocations: 230.2 kB / 493.5 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007197/0.8009, allocations: 311.9 kB / 493.8 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009847/0.8107, allocations: 4.015 MB / 497.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-05/0.8109, allocations: 4 kB / 497.8 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004673/0.8113, allocations: 132 kB / 498 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001871/0.8115, allocations: 142 kB / 498.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008211/0.8198, allocations: 3.214 MB / 0.4896 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.8476, allocations: 13.83 MB / 0.5031 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2286/1.076, allocations: 5.812 MB / 0.5087 GB, free: 67.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/1.079, allocations: 1.329 MB / 0.51 GB, free: 67.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007274/1.086, allocations: 3.181 MB / 0.5131 GB, free: 66.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/1.087, allocations: 48.19 kB / 0.5132 GB, free: 66.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=137): time 5.147e-06/1.087, allocations: 0 / 0.5132 GB, free: 66.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=141): time 0.009311/1.096, allocations: 4.535 MB / 0.5176 GB, free: 65.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.096, allocations: 95.88 kB / 0.5177 GB, free: 65.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003399/1.099, allocations: 1.669 MB / 0.5193 GB, free: 65.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/1.1, allocations: 50.55 kB / 0.5194 GB, free: 65.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/1.101, allocations: 1.454 MB / 0.5208 GB, free: 65.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000422/1.101, allocations: 484.4 kB / 0.5213 GB, free: 64.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/1.101, allocations: 39.34 kB / 0.5213 GB, free: 64.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/1.101, allocations: 377.1 kB / 0.5217 GB, free: 64.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/1.103, allocations: 0.7169 MB / 0.5224 GB, free: 64.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/1.105, allocations: 1.225 MB / 0.5236 GB, free: 63.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/1.107, allocations: 0.9061 MB / 0.5244 GB, free: 63.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/1.107, allocations: 6.906 kB / 0.5245 GB, free: 63.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00545/1.112, allocations: 2.635 MB / 0.527 GB, free: 63.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001254/1.114, allocations: 6.608 MB / 0.5335 GB, free: 56.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/1.114, allocations: 15.47 kB / 0.5335 GB, free: 56.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/1.115, allocations: 0.514 MB / 0.534 GB, free: 56.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/1.117, allocations: 375.2 kB / 0.5344 GB, free: 56.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008501/1.126, allocations: 7.225 MB / 0.5414 GB, free: 52.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/1.128, allocations: 101.1 kB / 0.5415 GB, free: 52.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/1.129, allocations: 73.56 kB / 0.5416 GB, free: 52.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.129, allocations: 7.344 kB / 0.5416 GB, free: 52.66 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004937/1.134, allocations: 2.427 MB / 0.544 GB, free: 52.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/1.134, allocations: 14.72 kB / 0.544 GB, free: 52.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/1.135, allocations: 0.5142 MB / 0.5445 GB, free: 52.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/1.137, allocations: 360.7 kB / 0.5448 GB, free: 52.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008497/1.146, allocations: 7.233 MB / 0.5519 GB, free: 48.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.148, allocations: 92.16 kB / 0.552 GB, free: 48.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/1.148, allocations: 75.94 kB / 0.552 GB, free: 48.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (diodeBridge2mPulse.diode_p.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004871/1.148, allocations: 217.5 kB / 0.5522 GB, free: 48.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/1.149, allocations: 210.4 kB / 0.5524 GB, free: 48.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004597/1.153, allocations: 2.432 MB / 0.5548 GB, free: 47.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.154, allocations: 13.25 kB / 0.5548 GB, free: 47.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.154, allocations: 5.125 kB / 0.5548 GB, free: 47.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.154, allocations: 3.656 kB / 0.5548 GB, free: 47.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/1.164, allocations: 5.287 MB / 0.56 GB, free: 46.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.529e-06/1.164, allocations: 3.75 kB / 0.56 GB, free: 46.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.165, allocations: 175 kB / 0.5602 GB, free: 46.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/1.168, allocations: 0.6535 MB / 0.5608 GB, free: 45.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/1.168, allocations: 29.84 kB / 0.5608 GB, free: 45.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/1.181, allocations: 11.29 MB / 0.5719 GB, free: 36.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/1.181, allocations: 10.48 kB / 0.5719 GB, free: 36.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006472/1.187, allocations: 3.654 MB / 0.5754 GB, free: 35.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.189, allocations: 470.7 kB / 0.5759 GB, free: 34.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/1.189, allocations: 29.97 kB / 0.5759 GB, free: 34.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/1.19, allocations: 86.06 kB / 0.576 GB, free: 34.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003158/1.191, allocations: 110.8 kB / 0.5761 GB, free: 34.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.191, allocations: 40.41 kB / 0.5761 GB, free: 34.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00244/1.193, allocations: 1.281 MB / 0.5774 GB, free: 34.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.99e-07/1.193, allocations: 0 / 0.5774 GB, free: 34.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004547/1.198, allocations: 1.107 MB / 0.5785 GB, free: 34.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 5 (smpm.inertiaRotor.phi,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,smpm.stator.zeroInductor.i0,inertiaLoad.w) * Number of discrete variables: 6 (diodeBridge2mPulse.diode_p.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * 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: 4 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {6 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007566/1.199, allocations: 0.5111 MB / 0.579 GB, free: 33.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006799/1.205, allocations: 4.031 MB / 0.5829 GB, free: 31.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.82e-06/1.206, allocations: 3.812 kB / 0.5829 GB, free: 31.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002932/1.208, allocations: 1.695 MB / 0.5846 GB, free: 30.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004627/1.213, allocations: 0.5887 MB / 0.5852 GB, free: 30.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.226, allocations: 4.742 MB / 0.5898 GB, free: 28.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002528/1.228, allocations: 2.383 MB / 0.5921 GB, free: 27.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00546/1.234, allocations: 0.7916 MB / 0.5929 GB, free: 27.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/1.234, allocations: 100.8 kB / 0.593 GB, free: 27.54 MB / 394.7 MB Notification: Performance of SimCode: time 2.39e-06/1.234, allocations: 0 / 0.593 GB, free: 27.54 MB / 394.7 MB Notification: Performance of Templates: time 0.1249/1.359, allocations: 43.58 MB / 0.6355 GB, free: 4.406 MB / 394.7 MB