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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadModel(Modelica): time 2.189/2.189, allocations: 194.9 MB / 211.2 MB, free: 9.312 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.344e-05, allocations: 4 kB / 258.8 MB, free: 9.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3127, allocations: 44.52 MB / 303.3 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.03682/0.3496, allocations: 21.9 MB / 325.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01954/0.3692, allocations: 6.783 MB / 332 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005808/0.3751, allocations: 219.2 kB / 332.2 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006052/0.3812, allocations: 1.375 MB / 333.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.3918, allocations: 2.157 MB / 335.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005866/0.3977, allocations: 1.092 MB / 336.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01773/0.4155, allocations: 6.568 MB / 343.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01343/0.429, allocations: 5.461 MB / 348.9 MB, free: 128 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007577/0.4366, allocations: 3.195 MB / 352.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009551/0.4462, allocations: 4.069 MB / 356.1 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004733/0.451, allocations: 0.5544 MB / 356.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00333/0.4544, allocations: 416 kB / 357.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004681/0.4591, allocations: 2.18 MB / 359.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004829/0.464, allocations: 0.9492 MB / 360.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02813/0.4922, allocations: 17.67 MB / 377.9 MB, free: 3.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4923, allocations: 4 kB / 377.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4923, allocations: 0 / 377.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006921/0.493, allocations: 4 kB / 377.9 MB, free: 3.012 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.04313/0.5361, allocations: 10.32 MB / 388.2 MB, free: 8.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.5362, allocations: 12.03 kB / 388.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01959/0.5558, allocations: 2.324 MB / 390.5 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02571/0.5816, allocations: 7.236 MB / 397.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001236/0.5829, allocations: 0.7426 MB / 398.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004255/0.5871, allocations: 0.9841 MB / 399.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05114/0.6383, allocations: 14.29 MB / 413.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005196/0.6389, allocations: 15.84 kB / 413.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0035/0.6424, allocations: 416 kB / 414.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006877/0.6432, allocations: 448.4 kB / 414.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04367/0.6868, allocations: 12.51 MB / 427.2 MB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6318/1.319, allocations: 44.28 MB / 471.4 MB, free: 59.07 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03544/1.354, allocations: 25.01 MB / 496.5 MB, free: 32 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03107/1.385, allocations: 9.95 MB / 0.4945 GB, free: 22.13 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.444e-05/1.385, allocations: 93.98 kB / 0.4946 GB, free: 22.03 MB / 362.8 MB Notification: Performance of pre-optimization done (n=443): time 8.486e-06/1.386, allocations: 0 / 0.4946 GB, free: 22.03 MB / 362.8 MB Notification: Performance of matching and sorting (n=451): time 0.09685/1.482, allocations: 22.98 MB / 0.5171 GB, free: 14.68 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/1.483, allocations: 98.95 kB / 0.5172 GB, free: 14.57 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01393/1.496, allocations: 4.686 MB / 0.5217 GB, free: 9.91 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009733/1.498, allocations: 105.7 kB / 0.5218 GB, free: 9.801 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004778/1.502, allocations: 4.059 MB / 0.5258 GB, free: 5.715 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002848/1.505, allocations: 1.506 MB / 0.5273 GB, free: 4.223 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006815/1.506, allocations: 103.9 kB / 0.5274 GB, free: 4.121 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0005519/1.507, allocations: 0.5018 MB / 0.5279 GB, free: 3.609 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008303/1.515, allocations: 2.497 MB / 0.5303 GB, free: 1.105 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009779/1.525, allocations: 3.704 MB / 0.5339 GB, free: 12.89 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009762/1.534, allocations: 3.067 MB / 0.5369 GB, free: 9.82 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.096e-05/1.535, allocations: 16 kB / 0.5369 GB, free: 9.805 MB / 394.8 MB Notification: Performance of matching and sorting (n=646) (initialization): time 0.02668/1.561, allocations: 8.019 MB / 0.5448 GB, free: 1.672 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/1.561, allocations: 20.97 kB / 0.5448 GB, free: 1.652 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/1.562, allocations: 39.98 kB / 0.5448 GB, free: 1.613 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006832/1.568, allocations: 1.563 MB / 0.5463 GB, free: 0 / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008826/1.577, allocations: 1.049 MB / 0.5474 GB, free: 14.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04332/1.621, allocations: 27.71 MB / 0.5744 GB, free: 1.391 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006906/1.628, allocations: 243.7 kB / 0.5747 GB, free: 1.152 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.629, allocations: 200 kB / 0.5749 GB, free: 0.957 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.389/2.018, allocations: 3.289 MB / 0.5781 GB, free: 139.1 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001932/2.02, allocations: 0.5757 MB / 0.5786 GB, free: 139.1 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02437/2.044, allocations: 8.247 MB / 0.5867 GB, free: 136.2 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.976e-05/2.044, allocations: 42.03 kB / 0.5867 GB, free: 136.2 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-05/2.045, allocations: 26.22 kB / 0.5867 GB, free: 136.2 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/2.045, allocations: 23.62 kB / 0.5868 GB, free: 136.2 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04814/2.093, allocations: 17.56 MB / 0.6039 GB, free: 128.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.295e-05/2.093, allocations: 3.875 kB / 0.6039 GB, free: 128.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004639/2.098, allocations: 0.5038 MB / 0.6044 GB, free: 128.7 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009385/2.107, allocations: 2.328 MB / 0.6067 GB, free: 126.9 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009236/2.108, allocations: 108 kB / 0.6068 GB, free: 126.8 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05408/2.162, allocations: 35.75 MB / 0.6417 GB, free: 90.31 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/2.162, allocations: 8.188 kB / 0.6417 GB, free: 90.3 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02956/2.192, allocations: 12.32 MB / 0.6537 GB, free: 78.03 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004209/2.196, allocations: 1.221 MB / 0.6549 GB, free: 76.81 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002113/2.198, allocations: 91.94 kB / 0.655 GB, free: 76.72 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005766/2.204, allocations: 263.8 kB / 0.6553 GB, free: 76.46 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001718/2.206, allocations: 443.2 kB / 0.6557 GB, free: 76.02 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005191/2.206, allocations: 120 kB / 0.6558 GB, free: 75.91 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.008334/2.215, allocations: 3.588 MB / 0.6593 GB, free: 72.34 MB / 426.8 MB Notification: Performance of sort global known variables: time 8.72e-07/2.215, allocations: 4 kB / 0.6593 GB, free: 72.34 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.009344/2.224, allocations: 1.883 MB / 0.6612 GB, free: 70.46 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.001247/2.225, allocations: 254.3 kB / 0.6614 GB, free: 70.21 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0187/2.244, allocations: 8.203 MB / 0.6694 GB, free: 61.79 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/2.244, allocations: 4.609 kB / 0.6694 GB, free: 61.79 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0141/2.258, allocations: 5.954 MB / 0.6752 GB, free: 55.68 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01155/2.27, allocations: 1.578 MB / 0.6768 GB, free: 54.11 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05245/2.322, allocations: 22.14 MB / 0.6984 GB, free: 31.91 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01877/2.341, allocations: 6.401 MB / 0.7046 GB, free: 25.46 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003481/2.345, allocations: 375.4 kB / 0.705 GB, free: 25.1 MB / 426.8 MB Notification: Performance of SimCode: time 2.214e-06/2.345, allocations: 0 / 0.705 GB, free: 25.1 MB / 426.8 MB Notification: Performance of Templates: time 2.821/5.166, allocations: 0.8239 GB / 1.529 GB, free: 44.14 MB / 474.8 MB