Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.825/1.825, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.756e-05, allocations: 3.25 kB / 255.3 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08335, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/0.4556, allocations: 113.1 MB / 413 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.4559, allocations: 82.89 kB / 413 MB, free: 12.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7598/1.216, allocations: 133.5 MB / 0.5337 GB, free: 51.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.406e-06/1.216, allocations: 0 / 0.5337 GB, free: 51.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004448/1.216, allocations: 129.4 kB / 0.5338 GB, free: 51.73 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01568/1.232, allocations: 4.771 MB / 0.5385 GB, free: 50.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.232, allocations: 7.75 kB / 0.5385 GB, free: 50.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007106/1.239, allocations: 0.9755 MB / 0.5394 GB, free: 49.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/1.254, allocations: 4.483 MB / 0.5438 GB, free: 49.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004281/1.254, allocations: 366.4 kB / 0.5442 GB, free: 49.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001833/1.256, allocations: 484.8 kB / 0.5446 GB, free: 49.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/1.275, allocations: 6.604 MB / 0.5511 GB, free: 48.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/1.275, allocations: 7.188 kB / 0.5511 GB, free: 48.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001392/1.276, allocations: 205.8 kB / 0.5513 GB, free: 48.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002327/1.277, allocations: 244.4 kB / 0.5515 GB, free: 48.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/1.291, allocations: 5.406 MB / 0.5568 GB, free: 48.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04761/1.339, allocations: 20.99 MB / 0.5773 GB, free: 40.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/1.35, allocations: 9.826 MB / 0.5869 GB, free: 32.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00501/1.355, allocations: 2.406 MB / 0.5892 GB, free: 31.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/1.371, allocations: 6.509 MB / 0.5956 GB, free: 28.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/1.371, allocations: 62.12 kB / 0.5957 GB, free: 28.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 6.483e-06/1.371, allocations: 0 / 0.5957 GB, free: 28.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=224): time 0.01742/1.388, allocations: 7.263 MB / 0.6028 GB, free: 24.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/1.388, allocations: 82.53 kB / 0.6028 GB, free: 24.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005432/1.394, allocations: 2.613 MB / 0.6054 GB, free: 23.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004182/1.394, allocations: 64.55 kB / 0.6054 GB, free: 23.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/1.396, allocations: 2.009 MB / 0.6074 GB, free: 22.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007135/1.396, allocations: 0.7514 MB / 0.6081 GB, free: 21.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/1.397, allocations: 50.75 kB / 0.6082 GB, free: 21.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/1.397, allocations: 406.2 kB / 0.6086 GB, free: 21.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/1.399, allocations: 1.204 MB / 0.6098 GB, free: 20.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/1.402, allocations: 1.782 MB / 0.6115 GB, free: 19.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/1.405, allocations: 1.506 MB / 0.613 GB, free: 18.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/1.405, allocations: 11.19 kB / 0.613 GB, free: 18.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.008155/1.413, allocations: 3.83 MB / 0.6167 GB, free: 17.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/1.413, allocations: 15.66 kB / 0.6167 GB, free: 17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/1.413, allocations: 16 kB / 0.6167 GB, free: 16.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/1.416, allocations: 0.6565 MB / 0.6174 GB, free: 16.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/1.419, allocations: 0.5511 MB / 0.6179 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.43, allocations: 9.983 MB / 0.6277 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.433, allocations: 114.6 kB / 0.6278 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/1.434, allocations: 99.42 kB / 0.6279 GB, free: 6.055 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005688/1.434, allocations: 252.4 kB / 0.6281 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007762/1.435, allocations: 312.2 kB / 0.6284 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007639/1.443, allocations: 3.781 MB / 0.6321 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/1.443, allocations: 23.56 kB / 0.6321 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/1.443, allocations: 12 kB / 0.6321 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.06e-05/1.443, allocations: 10.69 kB / 0.6321 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02306/1.466, allocations: 8.513 MB / 0.6405 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/1.466, allocations: 0 / 0.6405 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/1.468, allocations: 336.7 kB / 0.6408 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003276/1.472, allocations: 0.8266 MB / 0.6416 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004234/1.472, allocations: 55.64 kB / 0.6416 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02235/1.494, allocations: 14.39 MB / 0.6557 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.179e-06/1.494, allocations: 4 kB / 0.6557 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.507, allocations: 5.665 MB / 0.6612 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002588/1.51, allocations: 0.6927 MB / 0.6619 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.511, allocations: 51.28 kB / 0.662 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002626/1.514, allocations: 125.2 kB / 0.6621 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007538/1.515, allocations: 193.7 kB / 0.6623 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/1.515, allocations: 62.84 kB / 0.6623 GB, free: 6.227 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005505/1.52, allocations: 2.003 MB / 0.6643 GB, free: 4.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.158e-06/1.52, allocations: 0 / 0.6643 GB, free: 4.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005394/1.526, allocations: 0.988 MB / 0.6652 GB, free: 3.438 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/1.527, allocations: 475.7 kB / 0.6657 GB, free: 3.035 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2493/1.777, allocations: 3.735 MB / 0.6693 GB, free: 75.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.777, allocations: 0 / 0.6693 GB, free: 75.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005974/1.783, allocations: 2.557 MB / 0.6718 GB, free: 75.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005987/1.789, allocations: 0.86 MB / 0.6727 GB, free: 75.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/1.811, allocations: 7.695 MB / 0.6802 GB, free: 73.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006207/1.817, allocations: 3.424 MB / 0.6835 GB, free: 72.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.819, allocations: 209.4 kB / 0.6837 GB, free: 72.89 MB / 426.7 MB Notification: Performance of SimCode: time 2.053e-06/1.819, allocations: 0 / 0.6837 GB, free: 72.89 MB / 426.7 MB Notification: Performance of Templates: time 0.494/2.313, allocations: 192.9 MB / 0.8721 GB, free: 90.41 MB / 442.7 MB