Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.511e-05, allocations: 0 / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.08948, allocations: 50.41 MB / 342.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5357, allocations: 111.8 MB / 454.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.536, allocations: 95.12 kB / 454.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5698/1.106, allocations: 92.74 MB / 0.5344 GB, free: 91.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.561e-06/1.106, allocations: 1.062 kB / 0.5344 GB, free: 91.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003062/1.106, allocations: 98.58 kB / 0.5345 GB, free: 91.73 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.01117/1.117, allocations: 3.954 MB / 0.5384 GB, free: 90.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.117, allocations: 8.875 kB / 0.5384 GB, free: 90.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005343/1.123, allocations: 0.8278 MB / 0.5392 GB, free: 90.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/1.134, allocations: 3.819 MB / 0.5429 GB, free: 89.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/1.135, allocations: 302.1 kB / 0.5432 GB, free: 89.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009489/1.136, allocations: 384.4 kB / 0.5436 GB, free: 89.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/1.147, allocations: 5.135 MB / 0.5486 GB, free: 89.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000109/1.147, allocations: 6.812 kB / 0.5486 GB, free: 89.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005231/1.148, allocations: 161.9 kB / 0.5487 GB, free: 89.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/1.148, allocations: 168.3 kB / 0.5489 GB, free: 89.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009634/1.157, allocations: 4.3 MB / 0.5531 GB, free: 89.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03033/1.188, allocations: 16.95 MB / 0.5697 GB, free: 84.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008522/1.196, allocations: 8.668 MB / 0.5781 GB, free: 76.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00334/1.2, allocations: 1.812 MB / 0.5799 GB, free: 76.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009958/1.21, allocations: 4.843 MB / 0.5846 GB, free: 73.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002281/1.212, allocations: 1.24 MB / 0.5858 GB, free: 73.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 5.254e-06/1.212, allocations: 4 kB / 0.5858 GB, free: 73.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=186): time 0.01204/1.224, allocations: 5.848 MB / 0.5915 GB, free: 70.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/1.224, allocations: 230.5 kB / 0.5918 GB, free: 70.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/1.228, allocations: 2.015 MB / 0.5937 GB, free: 69.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/1.228, allocations: 62.95 kB / 0.5938 GB, free: 69.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.23, allocations: 1.733 MB / 0.5955 GB, free: 67.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005262/1.23, allocations: 0.6056 MB / 0.5961 GB, free: 67.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/1.23, allocations: 47.41 kB / 0.5961 GB, free: 67.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/1.231, allocations: 388.6 kB / 0.5965 GB, free: 67.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/1.233, allocations: 0.9416 MB / 0.5974 GB, free: 66.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/1.235, allocations: 1.474 MB / 0.5988 GB, free: 65.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/1.237, allocations: 1.153 MB / 0.6 GB, free: 65.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/1.237, allocations: 7.469 kB / 0.6 GB, free: 65.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006751/1.244, allocations: 3.319 MB / 0.6032 GB, free: 63.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/1.244, allocations: 11.19 kB / 0.6032 GB, free: 63.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.244, allocations: 18.75 kB / 0.6032 GB, free: 63.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/1.246, allocations: 0.7626 MB / 0.604 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.248, allocations: 366.5 kB / 0.6043 GB, free: 63.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/1.261, allocations: 10.82 MB / 0.6149 GB, free: 55.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/1.263, allocations: 138.7 kB / 0.615 GB, free: 55.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/1.264, allocations: 77.97 kB / 0.6151 GB, free: 55.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * 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%) 8,(9,33.3%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004586/1.264, allocations: 247.9 kB / 0.6154 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/1.265, allocations: 248.7 kB / 0.6156 GB, free: 55.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006776/1.271, allocations: 3.245 MB / 0.6188 GB, free: 54.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/1.271, allocations: 17.84 kB / 0.6188 GB, free: 54.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.271, allocations: 9.594 kB / 0.6188 GB, free: 54.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/1.271, allocations: 13.8 kB / 0.6188 GB, free: 54.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/1.285, allocations: 6.861 MB / 0.6255 GB, free: 50.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.285, allocations: 7.188 kB / 0.6255 GB, free: 50.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.286, allocations: 176.5 kB / 0.6257 GB, free: 50.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002949/1.289, allocations: 0.9433 MB / 0.6266 GB, free: 49.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/1.289, allocations: 47.08 kB / 0.6266 GB, free: 49.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/1.308, allocations: 15.18 MB / 0.6415 GB, free: 34.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.863e-06/1.308, allocations: 6.656 kB / 0.6415 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008875/1.317, allocations: 4.72 MB / 0.6461 GB, free: 30.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.318, allocations: 0.5552 MB / 0.6466 GB, free: 29.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004424/1.319, allocations: 40 kB / 0.6467 GB, free: 29.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.32, allocations: 113.3 kB / 0.6468 GB, free: 29.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005424/1.321, allocations: 207.9 kB / 0.647 GB, free: 29.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.321, allocations: 51.88 kB / 0.647 GB, free: 29.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00299/1.324, allocations: 1.547 MB / 0.6485 GB, free: 27.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.6e-07/1.324, allocations: 4 kB / 0.6485 GB, free: 27.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003761/1.328, allocations: 0.8079 MB / 0.6493 GB, free: 27.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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%) 8,(9,33.3%) 25,(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.0007613/1.328, allocations: 452.6 kB / 0.6497 GB, free: 26.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005687/1.334, allocations: 3.067 MB / 0.6527 GB, free: 23.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.898e-06/1.334, allocations: 3 kB / 0.6527 GB, free: 23.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004041/1.338, allocations: 2.265 MB / 0.655 GB, free: 21.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.342, allocations: 0.6558 MB / 0.6556 GB, free: 21.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.355, allocations: 5.918 MB / 0.6614 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003645/1.359, allocations: 2.921 MB / 0.6642 GB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002765/1.361, allocations: 0.4897 MB / 0.6647 GB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/1.362, allocations: 146.5 kB / 0.6648 GB, free: 13.24 MB / 442.7 MB Notification: Performance of SimCode: time 1.612e-06/1.362, allocations: 0 / 0.6648 GB, free: 13.24 MB / 442.7 MB Notification: Performance of Templates: time 0.3951/1.757, allocations: 42.67 MB / 0.7065 GB, free: 95.39 MB / 458.7 MB