Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,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|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 239.4 MB, free: 1.246 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.038e-05, allocations: 4.719 kB / 292.7 MB, free: 11.45 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09145, allocations: 50.41 MB / 343.1 MB, free: 9.039 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4852/0.5767, allocations: 152.8 MB / 495.9 MB, free: 1.926 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.577, allocations: 102.4 kB / 496 MB, free: 1.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.569/2.146, allocations: 356.1 MB / 0.8321 GB, free: 54.22 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.956e-06/2.146, allocations: 0 / 0.8321 GB, free: 54.22 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008183/2.147, allocations: 253.1 kB / 0.8323 GB, free: 54.18 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: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.04019/2.187, allocations: 10.38 MB / 0.8425 GB, free: 48.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/2.187, allocations: 12.03 kB / 0.8425 GB, free: 48.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03472/2.222, allocations: 4.755 MB / 0.8471 GB, free: 44.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02561/2.247, allocations: 9.56 MB / 0.8565 GB, free: 34.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008032/2.248, allocations: 0.7907 MB / 0.8572 GB, free: 34.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004035/2.252, allocations: 1.047 MB / 0.8583 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04236/2.295, allocations: 16.86 MB / 0.8747 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003529/2.295, allocations: 19.89 kB / 0.8747 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00288/2.298, allocations: 456 kB / 0.8752 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001085/2.299, allocations: 0.7607 MB / 0.8759 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3488/2.648, allocations: 15 MB / 0.8906 GB, free: 47.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/2.765, allocations: 55.61 MB / 0.9449 GB, free: 37.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02985/2.795, allocations: 33.12 MB / 0.9772 GB, free: 24.44 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008874/2.804, allocations: 4.342 MB / 0.9815 GB, free: 22.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02846/2.833, allocations: 12.21 MB / 0.9934 GB, free: 17.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005715/2.838, allocations: 2.999 MB / 0.9963 GB, free: 15.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=432): time 8.785e-06/2.838, allocations: 4.484 kB / 0.9963 GB, free: 15.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=450): time 0.04239/2.881, allocations: 17.54 MB / 1.013 GB, free: 7.617 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002744/2.881, allocations: 414.4 kB / 1.014 GB, free: 7.172 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009033/2.89, allocations: 3.971 MB / 1.018 GB, free: 5.609 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007893/2.891, allocations: 99.3 kB / 1.018 GB, free: 5.523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006133/2.897, allocations: 4.758 MB / 1.022 GB, free: 2.008 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002347/2.899, allocations: 1.542 MB / 1.024 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006176/2.9, allocations: 119.5 kB / 1.024 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005344/2.901, allocations: 0.5412 MB / 1.025 GB, free: 324 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009903/2.911, allocations: 2.951 MB / 1.028 GB, free: 0 / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008822/2.919, allocations: 4.873 MB / 1.032 GB, free: 12.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008305/2.928, allocations: 3.806 MB / 1.036 GB, free: 10.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-05/2.928, allocations: 25.34 kB / 1.036 GB, free: 10.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.02277/2.951, allocations: 9.21 MB / 1.045 GB, free: 7.352 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/2.951, allocations: 30.56 kB / 1.045 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.966e-05/2.951, allocations: 69.25 kB / 1.045 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005465/2.956, allocations: 1.511 MB / 1.047 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007398/2.964, allocations: 1.323 MB / 1.048 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03073/2.995, allocations: 16.33 MB / 1.064 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006381/3.001, allocations: 359.8 kB / 1.064 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/3.003, allocations: 287 kB / 1.064 GB, free: 6.516 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 680 * 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: 5 * 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: 5 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001532/3.004, allocations: 485.4 kB / 1.065 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/3.006, allocations: 0.4969 MB / 1.065 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3408/3.346, allocations: 7.831 MB / 1.073 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.759e-05/3.347, allocations: 46.31 kB / 1.073 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.296e-05/3.347, allocations: 17 kB / 1.073 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/3.347, allocations: 23.25 kB / 1.073 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04557/3.392, allocations: 17.51 MB / 1.09 GB, free: 89.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.172e-05/3.392, allocations: 5.156 kB / 1.09 GB, free: 89.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005069/3.398, allocations: 0.7494 MB / 1.091 GB, free: 89.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0063/3.404, allocations: 1.562 MB / 1.092 GB, free: 89.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009311/3.405, allocations: 111.5 kB / 1.093 GB, free: 89.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02848/3.433, allocations: 19.52 MB / 1.112 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.628e-06/3.433, allocations: 7.25 kB / 1.112 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02468/3.458, allocations: 11.76 MB / 1.123 GB, free: 78.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003747/3.462, allocations: 1.157 MB / 1.124 GB, free: 78.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/3.463, allocations: 102.5 kB / 1.124 GB, free: 78.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003943/3.467, allocations: 249.7 kB / 1.125 GB, free: 78.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/3.469, allocations: 332.7 kB / 1.125 GB, free: 78.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004634/3.469, allocations: 141.6 kB / 1.125 GB, free: 78.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006519/3.476, allocations: 3.007 MB / 1.128 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.084e-06/3.476, allocations: 0 / 1.128 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009652/3.485, allocations: 1.939 MB / 1.13 GB, free: 78.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,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,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 386 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 3,(14,41.8%) 44,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 3,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002897/3.488, allocations: 1.004 MB / 1.131 GB, free: 78.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01646/3.505, allocations: 7.704 MB / 1.138 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.716e-06/3.505, allocations: 5.219 kB / 1.138 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009827/3.515, allocations: 4.448 MB / 1.143 GB, free: 76.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006907/3.522, allocations: 1.201 MB / 1.144 GB, free: 76.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/3.562, allocations: 16.64 MB / 1.16 GB, free: 69.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01342/3.576, allocations: 7.021 MB / 1.167 GB, free: 67.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008812/3.585, allocations: 1.853 MB / 1.169 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002193/3.587, allocations: 395.9 kB / 1.169 GB, free: 66.85 MB / 0.4948 GB Notification: Performance of SimCode: time 2.619e-06/3.587, allocations: 0 / 1.169 GB, free: 66.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.2015/3.788, allocations: 83.39 MB / 1.251 GB, free: 9.57 MB / 0.4948 GB