Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.39e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1248, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.03484/0.1597, allocations: 19.63 MB / 364.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.1778, allocations: 6.193 MB / 370.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00485/0.1827, allocations: 207.4 kB / 371 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005153/0.1879, allocations: 1.153 MB / 372.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009159/0.1971, allocations: 1.904 MB / 374.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005196/0.2023, allocations: 0.9462 MB / 375 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01324/0.2156, allocations: 4.574 MB / 379.6 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.2261, allocations: 3.952 MB / 383.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005488/0.2317, allocations: 2.131 MB / 385.7 MB, free: 128 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006861/0.2386, allocations: 2.76 MB / 388.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.2423, allocations: 431.7 kB / 388.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002216/0.2445, allocations: 267.9 kB / 389.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003161/0.2477, allocations: 1.405 MB / 390.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003184/0.251, allocations: 0.6367 MB / 391.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3901/0.6411, allocations: 12.01 MB / 403.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6412, allocations: 0 / 403.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.6412, allocations: 1.062 kB / 403.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005179/0.6417, allocations: 0 / 403.2 MB, free: 12.19 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.03273/0.6745, allocations: 7.28 MB / 410.5 MB, free: 9.633 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.6745, allocations: 9.031 kB / 410.5 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.6907, allocations: 1.746 MB / 412.2 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01669/0.7075, allocations: 4.761 MB / 417 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008978/0.7084, allocations: 0.5374 MB / 417.5 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003346/0.7118, allocations: 0.7096 MB / 418.2 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03546/0.7473, allocations: 9.685 MB / 427.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004319/0.7478, allocations: 18.39 kB / 427.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002785/0.7506, allocations: 293 kB / 428.2 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004622/0.7511, allocations: 351 kB / 428.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0267/0.7778, allocations: 8.282 MB / 436.8 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09208/0.87, allocations: 30.5 MB / 467.3 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0274/0.8974, allocations: 15.99 MB / 483.3 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02228/0.9198, allocations: 6.741 MB / 490.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.531e-05/0.9199, allocations: 68.92 kB / 490.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=299): time 6.051e-06/0.9199, allocations: 0 / 490.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=309): time 0.0493/0.9692, allocations: 12.54 MB / 0.4909 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.9694, allocations: 85.84 kB / 0.491 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008426/0.9778, allocations: 3.074 MB / 0.494 GB, free: 13.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006236/0.9785, allocations: 81.7 kB / 0.4941 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003203/0.9817, allocations: 2.966 MB / 0.497 GB, free: 10.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001744/0.9835, allocations: 1.051 MB / 0.498 GB, free: 9.594 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003755/0.9839, allocations: 80 kB / 0.4981 GB, free: 9.516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003523/0.9843, allocations: 467 kB / 0.4985 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004782/0.9891, allocations: 1.538 MB / 0.5 GB, free: 7.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006066/0.9952, allocations: 2.651 MB / 0.5026 GB, free: 4.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006113/1.001, allocations: 2.019 MB / 0.5046 GB, free: 2.395 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.069e-05/1.001, allocations: 8 kB / 0.5046 GB, free: 2.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=489) (initialization): time 0.01516/1.017, allocations: 4.93 MB / 0.5094 GB, free: 13.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/1.017, allocations: 23.95 kB / 0.5094 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-05/1.017, allocations: 36 kB / 0.5094 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/1.019, allocations: 441 kB / 0.5099 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007042/1.026, allocations: 0.8909 MB / 0.5107 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/1.037, allocations: 7.723 MB / 0.5183 GB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/1.042, allocations: 191.8 kB / 0.5185 GB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006695/1.043, allocations: 160 kB / 0.5186 GB, free: 3.715 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (461): * Single equations (assignments): 455 * 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: 4 * 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: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006061/1.049, allocations: 2.131 MB / 0.5207 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/1.05, allocations: 402.5 kB / 0.5211 GB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.064, allocations: 4.712 MB / 0.5257 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.471e-05/1.064, allocations: 35.94 kB / 0.5257 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-05/1.064, allocations: 12 kB / 0.5257 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.057e-05/1.064, allocations: 15.94 kB / 0.5257 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03375/1.098, allocations: 11.18 MB / 0.5367 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/1.098, allocations: 12.03 kB / 0.5367 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004493/1.103, allocations: 487.9 kB / 0.5371 GB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003909/1.107, allocations: 0.8535 MB / 0.538 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000564/1.107, allocations: 79.97 kB / 0.538 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/1.135, allocations: 16.4 MB / 0.5541 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/1.135, allocations: 7.188 kB / 0.5541 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/1.155, allocations: 7.263 MB / 0.5612 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003275/1.158, allocations: 0.8007 MB / 0.5619 GB, free: 6.105 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/1.16, allocations: 71.95 kB / 0.562 GB, free: 6.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004126/1.164, allocations: 155.9 kB / 0.5622 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009199/1.165, allocations: 232.9 kB / 0.5624 GB, free: 5.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003513/1.165, allocations: 91.97 kB / 0.5625 GB, free: 5.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006492/1.172, allocations: 2.335 MB / 0.5648 GB, free: 3.254 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.253e-06/1.172, allocations: 4 kB / 0.5648 GB, free: 3.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007076/1.179, allocations: 1.215 MB / 0.5659 GB, free: 2.035 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (239): * Single equations (assignments): 232 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/1.18, allocations: 240.6 kB / 0.5662 GB, free: 1.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3139/1.494, allocations: 4.519 MB / 0.5706 GB, free: 171.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/1.494, allocations: 5.484 kB / 0.5706 GB, free: 171.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008682/1.503, allocations: 3.081 MB / 0.5736 GB, free: 170.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008431/1.511, allocations: 1.024 MB / 0.5746 GB, free: 170.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03747/1.549, allocations: 15.22 MB / 0.5895 GB, free: 161.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008154/1.557, allocations: 4.374 MB / 0.5937 GB, free: 160 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/1.559, allocations: 303.2 kB / 0.594 GB, free: 160 MB / 474.7 MB Notification: Performance of SimCode: time 2.535e-06/1.559, allocations: 0 / 0.594 GB, free: 160 MB / 474.7 MB Notification: Performance of Templates: time 0.75/2.309, allocations: 298.2 MB / 0.8852 GB, free: 23.81 MB / 474.7 MB