Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.937e-05, allocations: 4 kB / 293.7 MB, free: 7.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09114, allocations: 50.41 MB / 344.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4689/0.5601, allocations: 167.1 MB / 0.4992 GB, free: 8.289 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.5605, allocations: 101.7 kB / 0.4993 GB, free: 8.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.042/4.603, allocations: 0.8622 GB / 1.361 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.138e-06/4.603, allocations: 0 / 1.361 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001372/4.604, allocations: 479.6 kB / 1.362 GB, free: 33.84 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.07818/4.682, allocations: 19.5 MB / 1.381 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/4.683, allocations: 15.22 kB / 1.381 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0702/4.753, allocations: 9.673 MB / 1.39 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0449/4.798, allocations: 16.21 MB / 1.406 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001656/4.799, allocations: 1.515 MB / 1.408 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008966/4.808, allocations: 2.001 MB / 1.41 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4871/5.295, allocations: 33.82 MB / 1.443 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008211/5.296, allocations: 35.14 kB / 1.443 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006287/5.303, allocations: 0.8604 MB / 1.444 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001813/5.305, allocations: 1.482 MB / 1.445 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0754/5.38, allocations: 29.27 MB / 1.474 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2166/5.597, allocations: 107.4 MB / 1.579 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06569/5.662, allocations: 50.62 MB / 1.628 GB, free: 9.051 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02089/5.683, allocations: 9.56 MB / 1.637 GB, free: 2.062 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5312/6.214, allocations: 22.7 MB / 1.66 GB, free: 100.1 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/6.215, allocations: 133.7 kB / 1.66 GB, free: 100.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=892): time 2.588e-05/6.215, allocations: 0 / 1.66 GB, free: 100.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=904): time 0.08776/6.303, allocations: 32.67 MB / 1.692 GB, free: 94.57 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.708e-05/6.303, allocations: 172.5 kB / 1.692 GB, free: 94.47 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01693/6.32, allocations: 7.339 MB / 1.699 GB, free: 93.87 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001614/6.321, allocations: 172.6 kB / 1.699 GB, free: 93.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006486/6.328, allocations: 8.662 MB / 1.708 GB, free: 89.4 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003856/6.332, allocations: 3.045 MB / 1.71 GB, free: 87.47 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/6.333, allocations: 228.8 kB / 1.711 GB, free: 87.47 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0008623/6.334, allocations: 0.7722 MB / 1.711 GB, free: 87.14 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01324/6.347, allocations: 6.007 MB / 1.717 GB, free: 87.12 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01516/6.363, allocations: 9.529 MB / 1.727 GB, free: 82.93 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01597/6.379, allocations: 8.094 MB / 1.735 GB, free: 82.78 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001522/6.379, allocations: 32.28 kB / 1.735 GB, free: 82.78 MB / 0.573 GB Notification: Performance of matching and sorting (n=1468) (initialization): time 0.04651/6.425, allocations: 19.41 MB / 1.754 GB, free: 77.09 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/6.425, allocations: 53.16 kB / 1.754 GB, free: 77.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001864/6.426, allocations: 113.2 kB / 1.754 GB, free: 77.09 MB / 0.573 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002548/6.428, allocations: 0.8176 MB / 1.754 GB, free: 76.87 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01261/6.441, allocations: 2.372 MB / 1.757 GB, free: 76.79 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/6.454, allocations: 11.45 MB / 1.768 GB, free: 67.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/6.465, allocations: 0.6067 MB / 1.769 GB, free: 67.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002624/6.468, allocations: 0.5084 MB / 1.769 GB, free: 67.63 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1207 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003308/6.471, allocations: 0.7907 MB / 1.77 GB, free: 67.12 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002487/6.474, allocations: 0.9066 MB / 1.771 GB, free: 66.65 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03668/6.51, allocations: 16.69 MB / 1.787 GB, free: 58.45 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-05/6.51, allocations: 92 kB / 1.787 GB, free: 58.36 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-05/6.51, allocations: 48 kB / 1.787 GB, free: 58.31 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001604/6.511, allocations: 46.88 kB / 1.787 GB, free: 58.31 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08138/6.592, allocations: 35.52 MB / 1.822 GB, free: 29.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.001e-05/6.592, allocations: 7 kB / 1.822 GB, free: 29.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008432/6.601, allocations: 1.418 MB / 1.823 GB, free: 28.36 MB / 0.573 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/6.604, allocations: 0.848 MB / 1.824 GB, free: 27.66 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001401/6.605, allocations: 202.7 kB / 1.824 GB, free: 27.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01711/6.622, allocations: 15.65 MB / 1.84 GB, free: 12.03 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/6.622, allocations: 13.53 kB / 1.84 GB, free: 12.02 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5335/7.156, allocations: 26.32 MB / 1.865 GB, free: 87.38 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007334/7.163, allocations: 2.247 MB / 1.867 GB, free: 87.29 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002886/7.166, allocations: 180.9 kB / 1.868 GB, free: 87.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008081/7.174, allocations: 0.5021 MB / 1.868 GB, free: 87.29 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002735/7.177, allocations: 0.7889 MB / 1.869 GB, free: 87.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001174/7.178, allocations: 261 kB / 1.869 GB, free: 87.27 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01321/7.191, allocations: 5.547 MB / 1.875 GB, free: 86.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.933e-06/7.191, allocations: 0 / 1.875 GB, free: 86.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01852/7.21, allocations: 3.51 MB / 1.878 GB, free: 86.98 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (701): * Single equations (assignments): 693 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002949/7.213, allocations: 0.8939 MB / 1.879 GB, free: 86.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03047/7.243, allocations: 15.34 MB / 1.894 GB, free: 85.94 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/7.244, allocations: 7.656 kB / 1.894 GB, free: 85.94 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01678/7.26, allocations: 8.411 MB / 1.902 GB, free: 85.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01406/7.274, allocations: 2.328 MB / 1.904 GB, free: 84.97 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0831/7.358, allocations: 32.56 MB / 1.936 GB, free: 79.02 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02974/7.387, allocations: 13.46 MB / 1.949 GB, free: 77.64 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01725/7.405, allocations: 3.962 MB / 1.953 GB, free: 77.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0041/7.409, allocations: 0.6516 MB / 1.954 GB, free: 77.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.804e-06/7.409, allocations: 0 / 1.954 GB, free: 77.3 MB / 0.573 GB Notification: Performance of Templates: time 0.83/8.239, allocations: 150.8 MB / 2.101 GB, free: 86.1 MB / 0.573 GB