Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.667/1.667, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.701e-05, allocations: 0 / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09891/0.09896, allocations: 38.78 MB / 266.9 MB, free: 476 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.0398/0.1388, allocations: 20.4 MB / 287.3 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.1566, allocations: 6.175 MB / 293.5 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006219/0.1628, allocations: 211.2 kB / 293.7 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007775/0.1707, allocations: 1.293 MB / 295 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0135/0.1842, allocations: 1.904 MB / 296.9 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007833/0.1921, allocations: 1.053 MB / 298 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2558/0.4479, allocations: 6.234 MB / 304.2 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01366/0.4616, allocations: 5.454 MB / 309.7 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008156/0.4699, allocations: 3.027 MB / 312.7 MB, free: 5.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009424/0.4793, allocations: 3.827 MB / 316.5 MB, free: 5.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005196/0.4846, allocations: 0.4973 MB / 317 MB, free: 5.328 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00305/0.4877, allocations: 392.2 kB / 317.4 MB, free: 5.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004393/0.4921, allocations: 2.056 MB / 319.4 MB, free: 5.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004987/0.4972, allocations: 0.9145 MB / 320.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02497/0.5222, allocations: 16.92 MB / 337.3 MB, free: 7.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5222, allocations: 0 / 337.3 MB, free: 7.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.491e-06/0.5223, allocations: 3.984 kB / 337.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0006253/0.5229, allocations: 0 / 337.3 MB, free: 7.566 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04143/0.5643, allocations: 9.931 MB / 347.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.5644, allocations: 12.03 kB / 347.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/0.5774, allocations: 1.751 MB / 349 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02079/0.5983, allocations: 6.738 MB / 355.7 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009814/0.5993, allocations: 0.6981 MB / 356.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003761/0.6031, allocations: 0.9329 MB / 357.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04545/0.6486, allocations: 13.21 MB / 370.6 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003913/0.649, allocations: 11.91 kB / 370.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002989/0.652, allocations: 390.8 kB / 371 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005715/0.6526, allocations: 399 kB / 371.3 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03826/0.6909, allocations: 11.14 MB / 382.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1129/0.8038, allocations: 40.72 MB / 423.2 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01921/0.8231, allocations: 9.068 MB / 432.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006399/0.8238, allocations: 50.67 kB / 432.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.8239, allocations: 81.95 kB / 432.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=431): time 6.673e-06/0.8239, allocations: 0 / 432.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=439): time 0.5761/1.4, allocations: 22.33 MB / 454.7 MB, free: 104.5 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/1.4, allocations: 98.08 kB / 454.8 MB, free: 104.5 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01265/1.413, allocations: 4.645 MB / 459.5 MB, free: 102.8 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001022/1.414, allocations: 105.5 kB / 459.6 MB, free: 102.7 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003997/1.418, allocations: 4.152 MB / 463.7 MB, free: 99.57 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002142/1.42, allocations: 1.465 MB / 465.2 MB, free: 98.44 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000502/1.421, allocations: 95.75 kB / 465.3 MB, free: 98.36 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0003196/1.421, allocations: 0.4924 MB / 465.8 MB, free: 97.97 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006772/1.428, allocations: 2.405 MB / 468.2 MB, free: 97.08 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007688/1.435, allocations: 3.511 MB / 471.7 MB, free: 94.89 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007885/1.443, allocations: 2.943 MB / 474.6 MB, free: 93.62 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-05/1.444, allocations: 10.03 kB / 474.7 MB, free: 93.62 MB / 362.8 MB Notification: Performance of matching and sorting (n=616) (initialization): time 0.02279/1.466, allocations: 8.099 MB / 482.8 MB, free: 90.11 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/1.466, allocations: 18.75 kB / 482.8 MB, free: 90.11 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.909e-05/1.466, allocations: 31.16 kB / 482.8 MB, free: 90.11 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006163/1.473, allocations: 1.567 MB / 484.4 MB, free: 89.55 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007854/1.481, allocations: 1.008 MB / 485.4 MB, free: 89.04 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03331/1.514, allocations: 27.81 MB / 0.5012 GB, free: 59.67 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/1.52, allocations: 228 kB / 0.5014 GB, free: 59.45 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1.521, allocations: 184 kB / 0.5016 GB, free: 59.27 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (525): * Single equations (assignments): 509 * 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: 14 * 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: 14 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 25,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008433/1.53, allocations: 3.16 MB / 0.5046 GB, free: 56.1 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/1.532, allocations: 0.5674 MB / 0.5052 GB, free: 55.52 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/1.554, allocations: 7.972 MB / 0.513 GB, free: 47.41 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.252e-05/1.554, allocations: 40 kB / 0.513 GB, free: 47.37 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.496e-05/1.554, allocations: 32 kB / 0.513 GB, free: 47.34 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001066/1.554, allocations: 23.91 kB / 0.5131 GB, free: 47.32 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04888/1.603, allocations: 17.8 MB / 0.5305 GB, free: 29.3 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-05/1.603, allocations: 8 kB / 0.5305 GB, free: 29.29 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004209/1.607, allocations: 475.9 kB / 0.5309 GB, free: 28.83 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009637/1.617, allocations: 2.347 MB / 0.5332 GB, free: 26.45 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007821/1.618, allocations: 99.97 kB / 0.5333 GB, free: 26.35 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05783/1.676, allocations: 35.79 MB / 0.5683 GB, free: 4.859 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-05/1.676, allocations: 12.12 kB / 0.5683 GB, free: 4.848 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3206/1.996, allocations: 12.17 MB / 0.5802 GB, free: 104.5 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0047/2.001, allocations: 1.188 MB / 0.5813 GB, free: 104.4 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002454/2.003, allocations: 91 kB / 0.5814 GB, free: 104.4 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005955/2.009, allocations: 248.5 kB / 0.5816 GB, free: 104.4 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001747/2.011, allocations: 428.1 kB / 0.582 GB, free: 104.4 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006639/2.012, allocations: 116.5 kB / 0.5822 GB, free: 104.4 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.009798/2.022, allocations: 3.569 MB / 0.5856 GB, free: 104.2 MB / 378.8 MB Notification: Performance of sort global known variables: time 9.52e-07/2.022, allocations: 0 / 0.5856 GB, free: 104.2 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.009572/2.031, allocations: 1.806 MB / 0.5874 GB, free: 104.2 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 14 (aimsM.inertiaRotor.w,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aims3.inertiaRotor.w,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.zeroInductor.i0,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 240 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,54.5%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/2.033, allocations: 241 kB / 0.5876 GB, free: 104.2 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.01851/2.051, allocations: 7.958 MB / 0.5954 GB, free: 100.3 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/2.051, allocations: 5.625 kB / 0.5954 GB, free: 100.3 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01439/2.066, allocations: 5.928 MB / 0.6012 GB, free: 97.15 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01183/2.078, allocations: 1.568 MB / 0.6027 GB, free: 96.71 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04621/2.124, allocations: 21.32 MB / 0.6235 GB, free: 83.65 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01347/2.137, allocations: 6.308 MB / 0.6297 GB, free: 79 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.009628/2.147, allocations: 1.173 MB / 0.6309 GB, free: 77.83 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001889/2.149, allocations: 327.4 kB / 0.6312 GB, free: 77.51 MB / 378.8 MB Notification: Performance of SimCode: time 1.252e-06/2.149, allocations: 0 / 0.6312 GB, free: 77.51 MB / 378.8 MB Notification: Performance of Templates: time 0.4939/2.643, allocations: 91.39 MB / 0.7204 GB, free: 117.3 MB / 394.8 MB