Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadModel(Modelica): time 2.106/2.106, allocations: 194.9 MB / 211.2 MB, free: 8.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.005e-05, allocations: 7.906 kB / 258.8 MB, free: 8.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3251, allocations: 44.49 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01886/0.344, allocations: 10.57 MB / 313.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.3553, allocations: 4.071 MB / 317.9 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.3578, allocations: 95.69 kB / 318 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003333/0.3612, allocations: 0.7539 MB / 318.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.3663, allocations: 1.082 MB / 319.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.3696, allocations: 0.6391 MB / 320.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006768/0.3763, allocations: 2.188 MB / 322.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003734/0.3801, allocations: 1.648 MB / 324.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.3827, allocations: 1.025 MB / 325.4 MB, free: 7.531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/0.386, allocations: 1.324 MB / 326.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.3879, allocations: 299.8 kB / 327 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006948/0.3886, allocations: 128 kB / 327.1 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009703/0.3896, allocations: 0.6538 MB / 327.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.3907, allocations: 296 kB / 328 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008943/0.3997, allocations: 5.501 MB / 333.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3997, allocations: 4 kB / 333.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.74e-06/0.3997, allocations: 0 / 333.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001873/0.4, allocations: 3.938 kB / 333.6 MB, free: 15.32 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01445/0.4144, allocations: 3.585 MB / 337.1 MB, free: 11.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.4145, allocations: 12.03 kB / 337.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007263/0.4218, allocations: 0.8231 MB / 338 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006724/0.4285, allocations: 2.202 MB / 340.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.429, allocations: 238.4 kB / 340.4 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.4302, allocations: 323.8 kB / 340.7 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.4437, allocations: 4.241 MB / 345 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/0.4438, allocations: 7.891 kB / 345 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005238/0.4444, allocations: 132 kB / 345.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000241/0.4446, allocations: 154.4 kB / 345.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.4566, allocations: 3.594 MB / 348.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03724/0.4939, allocations: 13.44 MB / 362.3 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.506, allocations: 6.911 MB / 369.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009509/0.5156, allocations: 3.265 MB / 372.5 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002431/0.5181, allocations: 0.8962 MB / 373.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=141): time 4.829e-06/0.5181, allocations: 0 / 373.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=150): time 0.0237/0.5418, allocations: 6.855 MB / 380.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.542, allocations: 226.9 kB / 380.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/0.5461, allocations: 1.631 MB / 382.1 MB, free: 13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003241/0.5465, allocations: 49.7 kB / 382.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.5483, allocations: 1.384 MB / 383.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008709/0.5492, allocations: 0.5083 MB / 384 MB, free: 11.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.5494, allocations: 40 kB / 384.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.5497, allocations: 386.7 kB / 384.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.5518, allocations: 0.6949 MB / 385.1 MB, free: 9.914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/0.5546, allocations: 1.23 MB / 386.4 MB, free: 8.469 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/0.5574, allocations: 0.9478 MB / 387.3 MB, free: 7.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/0.5575, allocations: 11.98 kB / 387.3 MB, free: 7.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.007183/0.5647, allocations: 2.42 MB / 389.7 MB, free: 5.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.224e-05/0.5648, allocations: 41.69 kB / 389.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/0.5649, allocations: 12 kB / 389.8 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.5661, allocations: 295.4 kB / 390.1 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003171/0.5693, allocations: 403.3 kB / 390.5 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009153/0.5785, allocations: 5.906 MB / 396.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/0.5811, allocations: 96.05 kB / 396.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/0.5814, allocations: 83.97 kB / 396.5 MB, free: 13.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003128/0.5846, allocations: 1.042 MB / 397.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006574/0.5852, allocations: 197.6 kB / 397.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007075/0.5923, allocations: 2.348 MB / 400.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.5924, allocations: 16 kB / 400.1 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/0.5925, allocations: 4 kB / 400.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.746e-05/0.5925, allocations: 11.97 kB / 400.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.6077, allocations: 5.428 MB / 405.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/0.6078, allocations: 3.953 kB / 405.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.6096, allocations: 207.7 kB / 405.8 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002207/0.6119, allocations: 460.4 kB / 406.2 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002822/0.6122, allocations: 39.98 kB / 406.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/0.6299, allocations: 10.28 MB / 416.6 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6299, allocations: 128 / 416.6 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.6401, allocations: 3.386 MB / 420 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/0.6418, allocations: 442.5 kB / 420.4 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007709/0.6426, allocations: 36 kB / 420.4 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/0.6447, allocations: 67.95 kB / 420.5 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005306/0.6452, allocations: 109.1 kB / 420.6 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.6454, allocations: 43.98 kB / 420.6 MB, free: 4.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003491/0.6489, allocations: 1.255 MB / 421.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.649, allocations: 0 / 421.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003757/0.6528, allocations: 0.5898 MB / 422.5 MB, free: 2.812 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 3,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001559/0.6544, allocations: 411.1 kB / 422.9 MB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006904/0.6613, allocations: 2.323 MB / 425.2 MB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.6614, allocations: 4.938 kB / 425.2 MB, free: 40 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2637/0.9251, allocations: 1.617 MB / 426.8 MB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/0.9295, allocations: 0.4928 MB / 427.3 MB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.946, allocations: 7.061 MB / 434.4 MB, free: 101.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003399/0.9495, allocations: 2.367 MB / 436.8 MB, free: 100.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/0.9504, allocations: 144.9 kB / 436.9 MB, free: 100.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.9504, allocations: 0 / 436.9 MB, free: 100.3 MB / 362.7 MB Notification: Performance of Templates: time 0.1634/1.114, allocations: 106.9 MB / 0.531 GB, free: 12.43 MB / 378.7 MB