Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 2.248/2.248, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/2.993e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 50.41 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.03121/0.1393, allocations: 18.29 MB / 363.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.1566, allocations: 6.122 MB / 369.4 MB, free: 472 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004681/0.1614, allocations: 191.4 kB / 369.6 MB, free: 280 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005244/0.1667, allocations: 1.161 MB / 370.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009312/0.176, allocations: 1.873 MB / 372.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004669/0.1807, allocations: 0.8928 MB / 373.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01238/0.1931, allocations: 4.414 MB / 377.9 MB, free: 7.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00899/0.2022, allocations: 3.78 MB / 381.7 MB, free: 4.105 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005377/0.2076, allocations: 2.217 MB / 383.9 MB, free: 1.883 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00688/0.2146, allocations: 2.858 MB / 386.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.2185, allocations: 487.7 kB / 387.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00183/0.2204, allocations: 288 kB / 387.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002931/0.2233, allocations: 1.639 MB / 389.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003144/0.2265, allocations: 0.6562 MB / 389.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01822/0.2448, allocations: 11.71 MB / 401.5 MB, free: 224 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2448, allocations: 0 / 401.5 MB, free: 224 kB / 330.7 MB Notification: Performance of FrontEnd: time 4.097e-06/0.2448, allocations: 0 / 401.5 MB, free: 224 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004471/0.2453, allocations: 4 kB / 401.5 MB, free: 220 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.34/0.5853, allocations: 6.916 MB / 408.5 MB, free: 40.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.5854, allocations: 10.53 kB / 408.5 MB, free: 40.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.6019, allocations: 1.309 MB / 409.8 MB, free: 40.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02213/0.6241, allocations: 5.122 MB / 414.9 MB, free: 37.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008558/0.625, allocations: 0.4992 MB / 415.4 MB, free: 37.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002889/0.6279, allocations: 0.6653 MB / 416.1 MB, free: 37.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03138/0.6594, allocations: 9.359 MB / 425.4 MB, free: 31.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004307/0.6598, allocations: 10.66 kB / 425.4 MB, free: 31.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002241/0.6621, allocations: 280.5 kB / 425.7 MB, free: 31.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003426/0.6625, allocations: 308.8 kB / 426 MB, free: 30.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/0.6875, allocations: 8.067 MB / 434.1 MB, free: 22.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0739/0.7615, allocations: 29.44 MB / 463.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01991/0.7814, allocations: 11.95 MB / 475.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02152/0.803, allocations: 6.85 MB / 482.3 MB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.705e-05/0.8032, allocations: 73.03 kB / 482.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=314): time 6.312e-06/0.8032, allocations: 0 / 482.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=333): time 0.05736/0.8606, allocations: 16.3 MB / 498.7 MB, free: 4.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.8607, allocations: 86.03 kB / 498.8 MB, free: 4.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008917/0.8696, allocations: 3.476 MB / 0.4905 GB, free: 0.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007259/0.8704, allocations: 85.7 kB / 0.4906 GB, free: 464 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003128/0.8736, allocations: 2.836 MB / 0.4933 GB, free: 13.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001889/0.8755, allocations: 1.123 MB / 0.4944 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/0.8759, allocations: 72 kB / 0.4945 GB, free: 12.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003485/0.8763, allocations: 471.1 kB / 0.4949 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005413/0.8817, allocations: 1.901 MB / 0.4968 GB, free: 10.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006557/0.8883, allocations: 2.862 MB / 0.4996 GB, free: 6.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006784/0.8951, allocations: 2.331 MB / 0.5019 GB, free: 4.465 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.86e-05/0.8952, allocations: 12 kB / 0.5019 GB, free: 4.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=493) (initialization): time 0.01881/0.914, allocations: 6.213 MB / 0.5079 GB, free: 14.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.9141, allocations: 16 kB / 0.508 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.788e-05/0.9142, allocations: 28 kB / 0.508 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00535/0.9196, allocations: 1.281 MB / 0.5092 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00667/0.9263, allocations: 0.8268 MB / 0.51 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04351/0.9698, allocations: 21.19 MB / 0.5307 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007411/0.9773, allocations: 211.9 kB / 0.5309 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/0.9785, allocations: 152 kB / 0.5311 GB, free: 4.922 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * Number of states: 0 () * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 11 {(1,100.0%) 1,(2,100.0%) 14,(1,100.0%) 8,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(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.008691/0.9872, allocations: 2.172 MB / 0.5332 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/0.9892, allocations: 450.5 kB / 0.5336 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02412/1.013, allocations: 6.181 MB / 0.5397 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.501e-05/1.013, allocations: 31.98 kB / 0.5397 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.275e-05/1.014, allocations: 19.95 kB / 0.5397 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.213e-05/1.014, allocations: 15.94 kB / 0.5397 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04055/1.054, allocations: 12.54 MB / 0.552 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-05/1.054, allocations: 4 kB / 0.552 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004486/1.059, allocations: 479.7 kB / 0.5524 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007381/1.066, allocations: 1.622 MB / 0.554 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007618/1.067, allocations: 71.97 kB / 0.5541 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6383/1.705, allocations: 30.76 MB / 0.5841 GB, free: 135.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.706, allocations: 7.453 kB / 0.5842 GB, free: 135.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02497/1.73, allocations: 9.177 MB / 0.5931 GB, free: 131.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00369/1.734, allocations: 0.929 MB / 0.594 GB, free: 131.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/1.736, allocations: 63.66 kB / 0.5941 GB, free: 131.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005053/1.741, allocations: 208.8 kB / 0.5943 GB, free: 131.1 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001327/1.743, allocations: 278 kB / 0.5945 GB, free: 131.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005233/1.743, allocations: 98.66 kB / 0.5946 GB, free: 131.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006926/1.75, allocations: 2.653 MB / 0.5972 GB, free: 130.1 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.002e-06/1.75, allocations: 0 / 0.5972 GB, free: 130.1 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007652/1.758, allocations: 1.343 MB / 0.5985 GB, free: 129.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 223 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001235/1.759, allocations: 247.1 kB / 0.5988 GB, free: 129.8 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01519/1.774, allocations: 6.432 MB / 0.6051 GB, free: 126.5 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.775, allocations: 3.656 kB / 0.6051 GB, free: 126.5 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01118/1.786, allocations: 4.863 MB / 0.6098 GB, free: 123.5 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009474/1.795, allocations: 1.235 MB / 0.611 GB, free: 123 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03643/1.832, allocations: 15.75 MB / 0.6264 GB, free: 108 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008338/1.84, allocations: 4.519 MB / 0.6308 GB, free: 103.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/1.842, allocations: 303.4 kB / 0.6311 GB, free: 103.1 MB / 458.8 MB Notification: Performance of SimCode: time 1.423e-06/1.842, allocations: 0 / 0.6311 GB, free: 103.1 MB / 458.8 MB Notification: Performance of Templates: time 1.81/3.652, allocations: 0.5834 GB / 1.215 GB, free: 32.23 MB / 474.8 MB