Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadModel(Modelica): time 2.162/2.162, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.623e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02537/0.1328, allocations: 15.15 MB / 360.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.1466, allocations: 4.995 MB / 365.1 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003734/0.1504, allocations: 143.6 kB / 365.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004239/0.1547, allocations: 0.9127 MB / 366.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007466/0.1622, allocations: 1.487 MB / 367.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004004/0.1662, allocations: 0.7513 MB / 368.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01153/0.1778, allocations: 3.243 MB / 371.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008909/0.1867, allocations: 2.77 MB / 374.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/0.1917, allocations: 1.597 MB / 376 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006889/0.1986, allocations: 2.095 MB / 378.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.2023, allocations: 419.6 kB / 378.5 MB, free: 7.273 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002117/0.2045, allocations: 204 kB / 378.7 MB, free: 7.074 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003365/0.2079, allocations: 1.207 MB / 379.9 MB, free: 5.863 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003011/0.211, allocations: 488 kB / 380.4 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01882/0.2299, allocations: 8.586 MB / 389 MB, free: 12.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2299, allocations: 0 / 389 MB, free: 12.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.2299, allocations: 0 / 389 MB, free: 12.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003415/0.2303, allocations: 0 / 389 MB, free: 12.78 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.02536/0.2557, allocations: 5.23 MB / 394.2 MB, free: 7.473 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.84e-05/0.2558, allocations: 8.031 kB / 394.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008932/0.2647, allocations: 1.07 MB / 395.3 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/0.2766, allocations: 3.51 MB / 398.8 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006699/0.2773, allocations: 386.3 kB / 399.2 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002271/0.2796, allocations: 0.5076 MB / 399.7 MB, free: 1.914 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3659/0.6455, allocations: 6.869 MB / 406.6 MB, free: 40.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003132/0.6459, allocations: 12.03 kB / 406.6 MB, free: 40.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001579/0.6475, allocations: 206.7 kB / 406.8 MB, free: 40.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004532/0.648, allocations: 240.9 kB / 407 MB, free: 40.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02123/0.6692, allocations: 5.904 MB / 412.9 MB, free: 37.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05391/0.7232, allocations: 21.39 MB / 434.3 MB, free: 23.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.7349, allocations: 8.673 MB / 443 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01426/0.7492, allocations: 5.075 MB / 448.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.7494, allocations: 64.55 kB / 448.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=225): time 5.911e-06/0.7494, allocations: 0 / 448.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=244): time 0.04047/0.7899, allocations: 11.69 MB / 459.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.79, allocations: 73.41 kB / 459.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00682/0.7968, allocations: 2.588 MB / 462.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005196/0.7974, allocations: 65.7 kB / 462.5 MB, free: 9.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002285/0.7997, allocations: 2.136 MB / 464.7 MB, free: 7.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001383/0.8011, allocations: 0.8315 MB / 465.5 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.8014, allocations: 60 kB / 465.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002809/0.8017, allocations: 416.9 kB / 466 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004083/0.8058, allocations: 1.376 MB / 467.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004951/0.8108, allocations: 2.13 MB / 469.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005031/0.8159, allocations: 1.725 MB / 471.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-05/0.816, allocations: 8 kB / 471.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01371/0.8297, allocations: 4.488 MB / 475.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.8298, allocations: 16 kB / 475.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.173e-05/0.8298, allocations: 24 kB / 475.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/0.8331, allocations: 0.7609 MB / 476.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005056/0.8382, allocations: 0.6357 MB / 477.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02029/0.8585, allocations: 13.54 MB / 490.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/0.8625, allocations: 160.1 kB / 490.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006931/0.8633, allocations: 123.9 kB / 490.9 MB, free: 11.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (328): * Single equations (assignments): 318 * 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: 7 * 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: 7 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004813/0.8681, allocations: 1.598 MB / 492.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/0.8692, allocations: 327.9 kB / 492.9 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.8821, allocations: 4.259 MB / 497.1 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/0.8822, allocations: 24 kB / 497.1 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.949e-05/0.8822, allocations: 8 kB / 497.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-05/0.8823, allocations: 11.95 kB / 497.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02756/0.9099, allocations: 9.179 MB / 0.4945 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/0.9099, allocations: 12.02 kB / 0.4945 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003641/0.9136, allocations: 391.5 kB / 0.4949 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004449/0.9181, allocations: 0.9211 MB / 0.4958 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005045/0.9187, allocations: 67.97 kB / 0.4958 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02664/0.9453, allocations: 16.73 MB / 0.5122 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.9454, allocations: 4 kB / 0.5122 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/0.9635, allocations: 6.499 MB / 0.5185 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002775/0.9664, allocations: 0.6923 MB / 0.5192 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/0.9677, allocations: 63.98 kB / 0.5192 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003516/0.9712, allocations: 147.9 kB / 0.5194 GB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009315/0.9722, allocations: 193.6 kB / 0.5196 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003493/0.9726, allocations: 75.97 kB / 0.5196 GB, free: 1.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005536/0.9781, allocations: 1.975 MB / 0.5216 GB, free: 15.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.72e-07/0.9782, allocations: 0 / 0.5216 GB, free: 15.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007246/0.9854, allocations: 0.9791 MB / 0.5225 GB, free: 14.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 176 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 13,(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.00106/0.9865, allocations: 222.1 kB / 0.5227 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01253/0.9991, allocations: 4.626 MB / 0.5273 GB, free: 9.141 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.9992, allocations: 0 / 0.5273 GB, free: 9.141 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008645/1.008, allocations: 3.089 MB / 0.5303 GB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006758/1.015, allocations: 0.823 MB / 0.5311 GB, free: 5.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03081/1.046, allocations: 11.85 MB / 0.5427 GB, free: 9.172 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006877/1.052, allocations: 3.444 MB / 0.546 GB, free: 5.699 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/1.054, allocations: 235.4 kB / 0.5462 GB, free: 5.469 MB / 442.7 MB Notification: Performance of SimCode: time 1.553e-06/1.054, allocations: 0 / 0.5462 GB, free: 5.469 MB / 442.7 MB Notification: Performance of Templates: time 1.06/2.114, allocations: 292 MB / 0.8314 GB, free: 68.14 MB / 458.7 MB