Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.831/1.831, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.837e-05, allocations: 4 kB / 258.8 MB, free: 8.031 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2921, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.04897/0.3411, allocations: 21.91 MB / 325.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02231/0.3635, allocations: 6.776 MB / 332 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005117/0.3687, allocations: 227.2 kB / 332.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005813/0.3745, allocations: 1.363 MB / 333.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009975/0.3846, allocations: 2.157 MB / 335.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005508/0.3901, allocations: 1.099 MB / 336.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01629/0.4064, allocations: 6.578 MB / 343.4 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01182/0.4183, allocations: 5.449 MB / 348.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007244/0.4256, allocations: 3.195 MB / 352.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009179/0.4348, allocations: 4.069 MB / 356.2 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004405/0.4393, allocations: 0.5583 MB / 356.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002721/0.4421, allocations: 412 kB / 357.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004216/0.4463, allocations: 2.176 MB / 359.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00437/0.4507, allocations: 0.9453 MB / 360.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02716/0.4779, allocations: 17.69 MB / 377.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.478, allocations: 0 / 377.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.478, allocations: 0 / 377.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005932/0.4786, allocations: 0 / 377.9 MB, free: 2.793 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.04204/0.5207, allocations: 10.32 MB / 388.2 MB, free: 8.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5207, allocations: 12.03 kB / 388.3 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/0.54, allocations: 2.317 MB / 390.6 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02402/0.5641, allocations: 7.236 MB / 397.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001193/0.5653, allocations: 0.7504 MB / 398.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004024/0.5694, allocations: 0.9803 MB / 399.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0477/0.6171, allocations: 14.29 MB / 413.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003923/0.6176, allocations: 15.83 kB / 413.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002951/0.6205, allocations: 420 kB / 414.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006326/0.6212, allocations: 452.4 kB / 414.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04152/0.6627, allocations: 12.5 MB / 427.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6061/1.269, allocations: 44.28 MB / 471.5 MB, free: 58.75 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03246/1.301, allocations: 25.02 MB / 496.5 MB, free: 31.66 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0275/1.329, allocations: 9.949 MB / 0.4946 GB, free: 21.78 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/1.329, allocations: 86.05 kB / 0.4946 GB, free: 21.68 MB / 362.8 MB Notification: Performance of pre-optimization done (n=443): time 7.794e-06/1.329, allocations: 4 kB / 0.4947 GB, free: 21.68 MB / 362.8 MB Notification: Performance of matching and sorting (n=451): time 0.08724/1.416, allocations: 22.98 MB / 0.5171 GB, free: 14.32 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.356e-05/1.416, allocations: 94.95 kB / 0.5172 GB, free: 14.22 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/1.428, allocations: 4.687 MB / 0.5218 GB, free: 9.562 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008801/1.429, allocations: 105.6 kB / 0.5219 GB, free: 9.453 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004949/1.434, allocations: 4.413 MB / 0.5262 GB, free: 5.012 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002512/1.437, allocations: 1.506 MB / 0.5276 GB, free: 3.52 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005388/1.437, allocations: 103.9 kB / 0.5277 GB, free: 3.418 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0004665/1.438, allocations: 0.4971 MB / 0.5282 GB, free: 2.914 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007393/1.445, allocations: 2.493 MB / 0.5307 GB, free: 424 kB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008945/1.454, allocations: 3.708 MB / 0.5343 GB, free: 12.19 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008967/1.463, allocations: 3.063 MB / 0.5373 GB, free: 9.125 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.945e-05/1.463, allocations: 12 kB / 0.5373 GB, free: 9.113 MB / 394.8 MB Notification: Performance of matching and sorting (n=646) (initialization): time 0.02586/1.489, allocations: 8.39 MB / 0.5455 GB, free: 0.6016 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/1.489, allocations: 21.59 kB / 0.5455 GB, free: 0.582 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.421e-05/1.489, allocations: 36 kB / 0.5455 GB, free: 0.5469 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006733/1.496, allocations: 1.574 MB / 0.5471 GB, free: 14.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00856/1.505, allocations: 1.045 MB / 0.5481 GB, free: 13.88 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04244/1.547, allocations: 27.73 MB / 0.5752 GB, free: 316 kB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008173/1.555, allocations: 243.6 kB / 0.5754 GB, free: 72 kB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2932/1.849, allocations: 193 kB / 0.5756 GB, free: 138.2 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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,idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (555): * Single equations (assignments): 539 * 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%) 5,(1,100.0%) 1,(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.009061/1.858, allocations: 3.292 MB / 0.5788 GB, free: 138.1 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.859, allocations: 0.5737 MB / 0.5794 GB, free: 138.1 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02153/1.881, allocations: 8.238 MB / 0.5874 GB, free: 134.9 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.29e-05/1.881, allocations: 44.25 kB / 0.5875 GB, free: 134.9 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.414e-05/1.881, allocations: 26.19 kB / 0.5875 GB, free: 134.9 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.863e-05/1.881, allocations: 19.59 kB / 0.5875 GB, free: 134.9 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04432/1.926, allocations: 17.57 MB / 0.6047 GB, free: 127.5 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.675e-05/1.926, allocations: 7.625 kB / 0.6047 GB, free: 127.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004494/1.93, allocations: 0.4967 MB / 0.6051 GB, free: 127.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009078/1.939, allocations: 2.335 MB / 0.6074 GB, free: 125.4 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007075/1.94, allocations: 103.4 kB / 0.6075 GB, free: 125.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05181/1.992, allocations: 35.75 MB / 0.6424 GB, free: 88.98 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.992, allocations: 4 kB / 0.6424 GB, free: 88.97 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02787/2.02, allocations: 12.32 MB / 0.6545 GB, free: 76.7 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004096/2.024, allocations: 1.229 MB / 0.6557 GB, free: 75.48 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001876/2.026, allocations: 91.98 kB / 0.6558 GB, free: 75.39 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005227/2.031, allocations: 259.8 kB / 0.656 GB, free: 75.13 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001556/2.033, allocations: 447.1 kB / 0.6564 GB, free: 74.69 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004383/2.033, allocations: 120 kB / 0.6565 GB, free: 74.57 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.007661/2.041, allocations: 3.592 MB / 0.6601 GB, free: 71.01 MB / 426.8 MB Notification: Performance of sort global known variables: time 9.01e-07/2.041, allocations: 0 / 0.6601 GB, free: 71.01 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008512/2.049, allocations: 1.883 MB / 0.6619 GB, free: 69.12 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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,idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 252 * 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%) 1,(6,72.2%) 46,(11,49.6%) 56,(2,100.0%) 12,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/2.051, allocations: 259.6 kB / 0.6621 GB, free: 68.87 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0174/2.068, allocations: 8.207 MB / 0.6702 GB, free: 60.45 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/2.068, allocations: 0.6094 kB / 0.6702 GB, free: 60.45 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01365/2.082, allocations: 5.957 MB / 0.676 GB, free: 54.34 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01067/2.092, allocations: 1.567 MB / 0.6775 GB, free: 52.78 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04503/2.137, allocations: 22.21 MB / 0.6992 GB, free: 30.5 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01069/2.148, allocations: 6.554 MB / 0.7056 GB, free: 23.9 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.007323/2.156, allocations: 1.304 MB / 0.7069 GB, free: 22.59 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001729/2.157, allocations: 351.4 kB / 0.7072 GB, free: 22.25 MB / 426.8 MB Notification: Performance of SimCode: time 1.333e-06/2.157, allocations: 3.938 kB / 0.7072 GB, free: 22.25 MB / 426.8 MB Notification: Performance of Templates: time 0.5239/2.681, allocations: 91.94 MB / 0.797 GB, free: 94.23 MB / 442.8 MB