Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.585e-05/5.631e-05, allocations: 8 kB / 292.2 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1564, allocations: 50.4 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4007/0.5571, allocations: 112.3 MB / 454.9 MB, free: 14.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5574, allocations: 82.33 kB / 455 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6133/1.171, allocations: 93.97 MB / 0.5361 GB, free: 90.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.373e-06/1.171, allocations: 3.219 kB / 0.5361 GB, free: 90.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003889/1.171, allocations: 97.08 kB / 0.5362 GB, free: 90.87 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01107/1.182, allocations: 3.557 MB / 0.5397 GB, free: 89.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.182, allocations: 9.719 kB / 0.5397 GB, free: 89.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/1.185, allocations: 0.5074 MB / 0.5402 GB, free: 89.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007543/1.193, allocations: 2.548 MB / 0.5426 GB, free: 88.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/1.193, allocations: 267.2 kB / 0.5429 GB, free: 88.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/1.195, allocations: 355 kB / 0.5432 GB, free: 88.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/1.208, allocations: 4.785 MB / 0.5479 GB, free: 88.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/1.208, allocations: 10.23 kB / 0.5479 GB, free: 88.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006925/1.209, allocations: 149.5 kB / 0.5481 GB, free: 88.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/1.209, allocations: 176.8 kB / 0.5482 GB, free: 88.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/1.22, allocations: 3.851 MB / 0.552 GB, free: 88.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03308/1.253, allocations: 14.95 MB / 0.5666 GB, free: 85.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/1.258, allocations: 4.125 MB / 0.5706 GB, free: 82.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/1.261, allocations: 1.831 MB / 0.5724 GB, free: 81.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/1.262, allocations: 144.4 kB / 0.5726 GB, free: 81.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/1.262, allocations: 61.83 kB / 0.5726 GB, free: 81.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 5.721e-06/1.262, allocations: 0 / 0.5726 GB, free: 81.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.02185/1.284, allocations: 8.328 MB / 0.5807 GB, free: 78.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/1.284, allocations: 79.16 kB / 0.5808 GB, free: 78.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004553/1.288, allocations: 2.186 MB / 0.583 GB, free: 77.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004201/1.289, allocations: 66.52 kB / 0.583 GB, free: 77.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/1.29, allocations: 1.602 MB / 0.5846 GB, free: 76.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000684/1.291, allocations: 0.7323 MB / 0.5853 GB, free: 75.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/1.291, allocations: 43.19 kB / 0.5853 GB, free: 75.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/1.291, allocations: 403.1 kB / 0.5857 GB, free: 75.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/1.294, allocations: 1.237 MB / 0.5869 GB, free: 74.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/1.296, allocations: 1.652 MB / 0.5885 GB, free: 74.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/1.299, allocations: 1.491 MB / 0.59 GB, free: 73.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/1.299, allocations: 11.08 kB / 0.59 GB, free: 73.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008588/1.308, allocations: 3.874 MB / 0.5938 GB, free: 72.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/1.308, allocations: 10.41 kB / 0.5938 GB, free: 72.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/1.308, allocations: 11.44 kB / 0.5938 GB, free: 72.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/1.31, allocations: 0.7668 MB / 0.5946 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/1.313, allocations: 0.5301 MB / 0.5951 GB, free: 71.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/1.324, allocations: 8.705 MB / 0.6036 GB, free: 65.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/1.327, allocations: 117.2 kB / 0.6037 GB, free: 65.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/1.328, allocations: 88.91 kB / 0.6038 GB, free: 65.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (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 initialization (248): * Single equations (assignments): 243 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005586/1.328, allocations: 239.7 kB / 0.604 GB, free: 65.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006737/1.329, allocations: 277.1 kB / 0.6043 GB, free: 65.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007683/1.337, allocations: 3.641 MB / 0.6078 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/1.337, allocations: 18.62 kB / 0.6078 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.337, allocations: 7.344 kB / 0.6079 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/1.337, allocations: 11.02 kB / 0.6079 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/1.354, allocations: 7.944 MB / 0.6156 GB, free: 60.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.354, allocations: 4 kB / 0.6156 GB, free: 60.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/1.356, allocations: 399.2 kB / 0.616 GB, free: 60.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004262/1.361, allocations: 0.8067 MB / 0.6168 GB, free: 59.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005991/1.361, allocations: 65.22 kB / 0.6169 GB, free: 59.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0209/1.382, allocations: 10.21 MB / 0.6268 GB, free: 49.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/1.382, allocations: 4.031 kB / 0.6268 GB, free: 49.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/1.4, allocations: 5.615 MB / 0.6323 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00319/1.403, allocations: 0.6369 MB / 0.6329 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/1.405, allocations: 50.95 kB / 0.633 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003566/1.408, allocations: 128.6 kB / 0.6331 GB, free: 44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005106/1.409, allocations: 189 kB / 0.6333 GB, free: 43.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002196/1.409, allocations: 67.88 kB / 0.6333 GB, free: 43.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003016/1.412, allocations: 1.679 MB / 0.635 GB, free: 42.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.412, allocations: 0 / 0.635 GB, free: 42.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003502/1.416, allocations: 0.8242 MB / 0.6358 GB, free: 41.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (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 (178): * Single equations (assignments): 173 * 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 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007384/1.416, allocations: 399.4 kB / 0.6362 GB, free: 41.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00642/1.423, allocations: 3.705 MB / 0.6398 GB, free: 37.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.423, allocations: 0 / 0.6398 GB, free: 37.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004247/1.427, allocations: 2.396 MB / 0.6421 GB, free: 35.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/1.431, allocations: 0.7399 MB / 0.6429 GB, free: 34.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.445, allocations: 6.432 MB / 0.6491 GB, free: 29.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/1.448, allocations: 2.841 MB / 0.6519 GB, free: 27.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002936/1.451, allocations: 0.6811 MB / 0.6526 GB, free: 26.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008112/1.452, allocations: 174.3 kB / 0.6527 GB, free: 26.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.811e-06/1.452, allocations: 0 / 0.6527 GB, free: 26.45 MB / 442.7 MB Notification: Performance of Templates: time 0.1152/1.567, allocations: 46.19 MB / 0.6978 GB, free: 1.328 MB / 458.7 MB