Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.147e-05, allocations: 0 / 292.3 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 50.41 MB / 342.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.482/0.6119, allocations: 114.8 MB / 457.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003619/0.6123, allocations: 95.06 kB / 457.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9722/1.585, allocations: 183.7 MB / 0.6262 GB, free: 64.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.753e-06/1.585, allocations: 4 kB / 0.6262 GB, free: 64.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008778/1.585, allocations: 199.7 kB / 0.6264 GB, free: 64.4 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03301/1.618, allocations: 7.633 MB / 0.6338 GB, free: 56.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.619, allocations: 8.031 kB / 0.6338 GB, free: 56.67 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004624/1.623, allocations: 1.095 MB / 0.6349 GB, free: 55.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/1.638, allocations: 1.828 MB / 0.6367 GB, free: 53.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0247/1.663, allocations: 6.943 MB / 0.6435 GB, free: 46.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000807/1.664, allocations: 0.5939 MB / 0.644 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00349/1.667, allocations: 0.7927 MB / 0.6448 GB, free: 45.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03777/1.705, allocations: 10.68 MB / 0.6552 GB, free: 34.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004743/1.706, allocations: 4 kB / 0.6552 GB, free: 34.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002911/1.709, allocations: 336 kB / 0.6556 GB, free: 34.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004118/1.709, allocations: 368.3 kB / 0.6559 GB, free: 33.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02865/1.738, allocations: 8.892 MB / 0.6646 GB, free: 24.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7639/2.502, allocations: 34.52 MB / 0.6983 GB, free: 48.1 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03517/2.537, allocations: 19.65 MB / 0.7175 GB, free: 33.55 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009529/2.546, allocations: 3.604 MB / 0.721 GB, free: 33.49 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0286/2.575, allocations: 9.464 MB / 0.7303 GB, free: 32.66 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.151e-05/2.575, allocations: 73.22 kB / 0.7303 GB, free: 32.62 MB / 442.8 MB Notification: Performance of pre-optimization done (n=317): time 6.623e-06/2.575, allocations: 3.391 kB / 0.7303 GB, free: 32.62 MB / 442.8 MB Notification: Performance of matching and sorting (n=323): time 0.0286/2.604, allocations: 10.09 MB / 0.7402 GB, free: 30.81 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/2.604, allocations: 92.09 kB / 0.7403 GB, free: 30.75 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00974/2.614, allocations: 3.824 MB / 0.744 GB, free: 30.43 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007361/2.615, allocations: 81.7 kB / 0.7441 GB, free: 30.4 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002766/2.617, allocations: 3.267 MB / 0.7473 GB, free: 28.87 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001522/2.619, allocations: 1.089 MB / 0.7483 GB, free: 28.18 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004672/2.619, allocations: 78.69 kB / 0.7484 GB, free: 28.18 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002642/2.62, allocations: 461.1 kB / 0.7488 GB, free: 27.86 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004388/2.624, allocations: 1.695 MB / 0.7505 GB, free: 27.86 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/2.629, allocations: 2.69 MB / 0.7531 GB, free: 26.71 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005635/2.635, allocations: 2.176 MB / 0.7553 GB, free: 26.66 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/2.635, allocations: 7.094 kB / 0.7553 GB, free: 26.66 MB / 442.8 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01534/2.65, allocations: 5.373 MB / 0.7605 GB, free: 26.27 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/2.651, allocations: 18.97 kB / 0.7605 GB, free: 26.27 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.92e-05/2.651, allocations: 30.97 kB / 0.7606 GB, free: 26.27 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003349/2.654, allocations: 0.7995 MB / 0.7613 GB, free: 26.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006398/2.66, allocations: 0.8002 MB / 0.7621 GB, free: 26.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01892/2.679, allocations: 14.81 MB / 0.7766 GB, free: 14.95 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005972/2.685, allocations: 190.6 kB / 0.7768 GB, free: 14.88 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/2.687, allocations: 156.4 kB / 0.7769 GB, free: 14.85 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * 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: 7 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001954/2.689, allocations: 340.8 kB / 0.7772 GB, free: 14.61 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/2.69, allocations: 452.6 kB / 0.7777 GB, free: 14.38 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/2.708, allocations: 5.422 MB / 0.783 GB, free: 12.08 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.747e-05/2.708, allocations: 30.44 kB / 0.783 GB, free: 12.08 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.895e-05/2.709, allocations: 20.81 kB / 0.783 GB, free: 12.08 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/2.709, allocations: 21.05 kB / 0.783 GB, free: 12.08 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03728/2.746, allocations: 12.35 MB / 0.7951 GB, free: 6.84 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-05/2.746, allocations: 3.312 kB / 0.7951 GB, free: 6.84 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003623/2.75, allocations: 379 kB / 0.7955 GB, free: 6.828 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006207/2.756, allocations: 1.367 MB / 0.7968 GB, free: 6.414 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007845/2.757, allocations: 93.42 kB / 0.7969 GB, free: 6.363 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04276/2.8, allocations: 23.95 MB / 0.8203 GB, free: 4.523 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/2.8, allocations: 8.125 kB / 0.8203 GB, free: 4.523 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/2.821, allocations: 8.136 MB / 0.8282 GB, free: 124 kB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003921/2.825, allocations: 0.9428 MB / 0.8292 GB, free: 15.25 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001744/2.827, allocations: 79.7 kB / 0.8292 GB, free: 15.18 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005078/2.832, allocations: 187.2 kB / 0.8294 GB, free: 15.03 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001479/2.833, allocations: 331 kB / 0.8297 GB, free: 14.84 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004759/2.834, allocations: 86.42 kB / 0.8298 GB, free: 14.76 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.008522/2.842, allocations: 2.915 MB / 0.8327 GB, free: 12.14 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.223e-06/2.842, allocations: 1.219 kB / 0.8327 GB, free: 12.14 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.009046/2.852, allocations: 1.477 MB / 0.8341 GB, free: 10.67 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02432/2.876, allocations: 9.922 MB / 0.8438 GB, free: 1.555 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02346/2.899, allocations: 5.827 MB / 0.8495 GB, free: 14.14 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/2.899, allocations: 0 / 0.8495 GB, free: 14.14 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01057/2.91, allocations: 3.833 MB / 0.8532 GB, free: 10.64 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009679/2.92, allocations: 1.17 MB / 0.8544 GB, free: 9.727 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4173/3.337, allocations: 13.91 MB / 0.8679 GB, free: 102.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01167/3.349, allocations: 5.118 MB / 0.8729 GB, free: 101.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007235/3.356, allocations: 3.03 MB / 0.8759 GB, free: 101.5 MB / 490.8 MB Notification: Performance of SimCode: time 1.512e-06/3.356, allocations: 0 / 0.8759 GB, free: 101.5 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.51/9.866, allocations: 489.9 MB / 1.354 GB, free: 55.02 MB / 0.5105 GB