Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.86e-05, allocations: 7.984 kB / 292.7 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.08856, allocations: 50.41 MB / 343.1 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.5376, allocations: 147.6 MB / 490.7 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5379, allocations: 105.8 kB / 490.8 MB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552/2.09, allocations: 349.3 MB / 0.8204 GB, free: 45.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.607e-06/2.09, allocations: 0 / 0.8204 GB, free: 45.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007408/2.091, allocations: 247.7 kB / 0.8206 GB, free: 45.38 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.03833/2.129, allocations: 10.19 MB / 0.8306 GB, free: 35.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/2.129, allocations: 12.03 kB / 0.8306 GB, free: 35.08 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03474/2.164, allocations: 4.724 MB / 0.8352 GB, free: 30.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02663/2.19, allocations: 9.477 MB / 0.8445 GB, free: 20.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008498/2.191, allocations: 0.7668 MB / 0.8452 GB, free: 20.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004144/2.195, allocations: 1.031 MB / 0.8462 GB, free: 18.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06506/2.261, allocations: 16.66 MB / 0.8625 GB, free: 1.984 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006463/2.261, allocations: 15.89 kB / 0.8625 GB, free: 1.969 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005105/2.266, allocations: 448 kB / 0.8629 GB, free: 1.531 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/2.268, allocations: 0.7446 MB / 0.8636 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.731/2.999, allocations: 14.89 MB / 0.8782 GB, free: 44.75 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/3.105, allocations: 55.88 MB / 0.9328 GB, free: 31.64 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02772/3.133, allocations: 30.88 MB / 0.9629 GB, free: 4.004 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008568/3.142, allocations: 4.223 MB / 0.967 GB, free: 2.383 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02785/3.17, allocations: 10.69 MB / 0.9775 GB, free: 14.25 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.165e-05/3.17, allocations: 81.67 kB / 0.9776 GB, free: 14.18 MB / 474.8 MB Notification: Performance of pre-optimization done (n=396): time 8.564e-06/3.17, allocations: 1.312 kB / 0.9776 GB, free: 14.18 MB / 474.8 MB Notification: Performance of matching and sorting (n=421): time 0.03898/3.209, allocations: 15.99 MB / 0.9932 GB, free: 6.117 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/3.209, allocations: 124.4 kB / 0.9933 GB, free: 6.016 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008703/3.218, allocations: 4.081 MB / 0.9973 GB, free: 4.426 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007346/3.218, allocations: 99.27 kB / 0.9974 GB, free: 4.34 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004263/3.223, allocations: 4.658 MB / 1.002 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002021/3.225, allocations: 1.437 MB / 1.003 GB, free: 15.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005886/3.225, allocations: 122.3 kB / 1.003 GB, free: 15.63 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005213/3.226, allocations: 0.5371 MB / 1.004 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006064/3.232, allocations: 2.805 MB / 1.007 GB, free: 14.08 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008224/3.24, allocations: 4.784 MB / 1.011 GB, free: 10.41 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008082/3.248, allocations: 3.875 MB / 1.015 GB, free: 7.602 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.037e-05/3.248, allocations: 16 kB / 1.015 GB, free: 7.586 MB / 490.8 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02716/3.276, allocations: 9.35 MB / 1.024 GB, free: 15.81 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/3.276, allocations: 32.28 kB / 1.024 GB, free: 15.78 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/3.276, allocations: 68 kB / 1.024 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/3.287, allocations: 1.656 MB / 1.026 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01346/3.3, allocations: 1.315 MB / 1.027 GB, free: 13.38 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03889/3.339, allocations: 16.39 MB / 1.043 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006328/3.346, allocations: 334.4 kB / 1.044 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/3.347, allocations: 282.2 kB / 1.044 GB, free: 13.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (669): * Single equations (assignments): 665 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,67.3%) 28,(1,100.0%) 1,(14,40.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001344/3.349, allocations: 466.4 kB / 1.044 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001517/3.35, allocations: 0.4939 MB / 1.045 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02513/3.375, allocations: 7.627 MB / 1.052 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.542e-05/3.375, allocations: 43.47 kB / 1.052 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.923e-05/3.376, allocations: 16 kB / 1.052 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001302/3.376, allocations: 24.47 kB / 1.052 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3804/3.756, allocations: 17.46 MB / 1.069 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/3.756, allocations: 7.406 kB / 1.069 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004724/3.761, allocations: 0.7177 MB / 1.07 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006054/3.767, allocations: 1.557 MB / 1.072 GB, free: 98.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007491/3.768, allocations: 101.2 kB / 1.072 GB, free: 98.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02799/3.796, allocations: 19.43 MB / 1.091 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/3.796, allocations: 14.2 kB / 1.091 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/3.818, allocations: 11.9 MB / 1.102 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003596/3.822, allocations: 1.154 MB / 1.103 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/3.823, allocations: 93.52 kB / 1.104 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003324/3.826, allocations: 246.9 kB / 1.104 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009014/3.827, allocations: 325.3 kB / 1.104 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004572/3.828, allocations: 132.8 kB / 1.104 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006156/3.834, allocations: 3.06 MB / 1.107 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.83e-07/3.834, allocations: 0 / 1.107 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008968/3.843, allocations: 1.908 MB / 1.109 GB, free: 87.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,imc.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 (362): * Single equations (assignments): 355 * 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%) 1,(14,39.8%) 44,(2,100.0%) 12,(1,100.0%) 5,(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.001432/3.844, allocations: 0.6779 MB / 1.11 GB, free: 87.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01604/3.861, allocations: 7.685 MB / 1.117 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/3.861, allocations: 8.594 kB / 1.117 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009984/3.871, allocations: 4.441 MB / 1.122 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007214/3.878, allocations: 1.18 MB / 1.123 GB, free: 85.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03917/3.917, allocations: 16.4 MB / 1.139 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01086/3.928, allocations: 6.949 MB / 1.146 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007948/3.936, allocations: 1.848 MB / 1.147 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/3.938, allocations: 376.9 kB / 1.148 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.748e-06/3.938, allocations: 0 / 1.148 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.2013/4.139, allocations: 81.95 MB / 1.228 GB, free: 33.66 MB / 0.5105 GB