Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.099e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.25, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.4088, allocations: 104 MB / 398.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.4091, allocations: 91.88 kB / 398.2 MB, free: 9.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.473/0.8821, allocations: 79.48 MB / 477.6 MB, free: 70.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.217e-06/0.8822, allocations: 0 / 477.6 MB, free: 70.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002753/0.8825, allocations: 75.94 kB / 477.7 MB, free: 70.91 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01053/0.893, allocations: 3.201 MB / 480.9 MB, free: 67.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.8931, allocations: 12.03 kB / 480.9 MB, free: 67.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/0.8987, allocations: 0.7334 MB / 481.7 MB, free: 66.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009871/0.9086, allocations: 3.307 MB / 485 MB, free: 63.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.9088, allocations: 104 kB / 485.1 MB, free: 63.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009033/0.9098, allocations: 191.9 kB / 485.3 MB, free: 63.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008122/0.9179, allocations: 3.152 MB / 488.4 MB, free: 60.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009908/0.9278, allocations: 3.676 MB / 492.1 MB, free: 56.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.928, allocations: 3.906 kB / 492.1 MB, free: 56.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004072/0.9284, allocations: 4 kB / 492.1 MB, free: 56.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.9286, allocations: 146.4 kB / 492.2 MB, free: 56.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02735/0.956, allocations: 13.29 MB / 0.4937 GB, free: 42.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006585/0.9626, allocations: 6.531 MB / 0.5001 GB, free: 35.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/0.9652, allocations: 1.293 MB / 0.5013 GB, free: 34.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008034/0.9732, allocations: 3.687 MB / 0.5049 GB, free: 30.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.9733, allocations: 47.88 kB / 0.505 GB, free: 30.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=144): time 5.579e-06/0.9733, allocations: 0 / 0.505 GB, free: 30.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=147): time 0.01124/0.9846, allocations: 4.472 MB / 0.5093 GB, free: 25.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.9847, allocations: 68.97 kB / 0.5094 GB, free: 25.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.9873, allocations: 1.239 MB / 0.5106 GB, free: 24.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002951/0.9877, allocations: 25.7 kB / 0.5106 GB, free: 24.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00083/0.9885, allocations: 1.387 MB / 0.512 GB, free: 22.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004575/0.989, allocations: 476.8 kB / 0.5124 GB, free: 22.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.9891, allocations: 0 / 0.5124 GB, free: 22.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9893, allocations: 390.7 kB / 0.5128 GB, free: 22.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.9905, allocations: 0.6287 MB / 0.5134 GB, free: 21.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.9919, allocations: 1.097 MB / 0.5145 GB, free: 20.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/0.9942, allocations: 0.9743 MB / 0.5154 GB, free: 19.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/0.9943, allocations: 4 kB / 0.5155 GB, free: 19.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005554/0.9998, allocations: 2.349 MB / 0.5177 GB, free: 16.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.9999, allocations: 10.03 kB / 0.5178 GB, free: 16.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/1, allocations: 16.31 kB / 0.5178 GB, free: 16.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.001, allocations: 371.9 kB / 0.5181 GB, free: 16.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/1.003, allocations: 387.4 kB / 0.5185 GB, free: 16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007425/1.01, allocations: 7.555 MB / 0.5259 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.012, allocations: 44.12 kB / 0.5259 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/1.012, allocations: 71.98 kB / 0.526 GB, free: 7.871 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003565/1.013, allocations: 148.6 kB / 0.5261 GB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/1.013, allocations: 181.8 kB / 0.5263 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005389/1.019, allocations: 2.315 MB / 0.5286 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/1.019, allocations: 12 kB / 0.5286 GB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/1.019, allocations: 8 kB / 0.5286 GB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.104e-05/1.019, allocations: 11.92 kB / 0.5286 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/1.03, allocations: 4.749 MB / 0.5332 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.03, allocations: 0 / 0.5332 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.031, allocations: 199.9 kB / 0.5334 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/1.033, allocations: 0.536 MB / 0.5339 GB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/1.033, allocations: 19.98 kB / 0.534 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/1.05, allocations: 11.77 MB / 0.5455 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/1.05, allocations: 4.031 kB / 0.5455 GB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008011/1.058, allocations: 3.363 MB / 0.5487 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.06, allocations: 410.8 kB / 0.5491 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/1.06, allocations: 19.94 kB / 0.5492 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.061, allocations: 47.95 kB / 0.5492 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/1.062, allocations: 117.2 kB / 0.5493 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.062, allocations: 39.98 kB / 0.5494 GB, free: 14.92 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002085/1.064, allocations: 0.9288 MB / 0.5503 GB, free: 13.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.088e-06/1.064, allocations: 0 / 0.5503 GB, free: 13.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003475/1.067, allocations: 0.5392 MB / 0.5508 GB, free: 13.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 13,(3,100.0%) 9,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008627/1.068, allocations: 347.1 kB / 0.5511 GB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005057/1.073, allocations: 2.239 MB / 0.5533 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.725e-06/1.074, allocations: 0 / 0.5533 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003588/1.077, allocations: 1.695 MB / 0.555 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.08, allocations: 381 kB / 0.5553 GB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/1.093, allocations: 4.682 MB / 0.5599 GB, free: 3.953 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003693/1.096, allocations: 2.323 MB / 0.5622 GB, free: 1.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007205/1.097, allocations: 123.4 kB / 0.5623 GB, free: 1.48 MB / 394.7 MB Notification: Performance of SimCode: time 2.041e-06/1.097, allocations: 0 / 0.5623 GB, free: 1.48 MB / 394.7 MB Notification: Performance of Templates: time 0.3651/1.462, allocations: 119.3 MB / 0.6788 GB, free: 14.68 MB / 394.7 MB