Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.447e-05, allocations: 0 / 292.2 MB, free: 8.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.08913, allocations: 50.41 MB / 342.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.4967, allocations: 115.9 MB / 458.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.497, allocations: 102.2 kB / 458.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8373/1.334, allocations: 159.9 MB / 0.604 GB, free: 82.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.879e-06/1.334, allocations: 0 / 0.604 GB, free: 82.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005263/1.335, allocations: 162.9 kB / 0.6042 GB, free: 82.87 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.0222/1.357, allocations: 6.461 MB / 0.6105 GB, free: 78.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.357, allocations: 14.89 kB / 0.6105 GB, free: 78.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/1.368, allocations: 1.51 MB / 0.612 GB, free: 78.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.386, allocations: 5.746 MB / 0.6176 GB, free: 73.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005646/1.386, allocations: 0.5171 MB / 0.6181 GB, free: 72.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002481/1.389, allocations: 0.6861 MB / 0.6187 GB, free: 71.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02572/1.415, allocations: 8.947 MB / 0.6275 GB, free: 62.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000234/1.415, allocations: 11.89 kB / 0.6275 GB, free: 62.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/1.416, allocations: 295.1 kB / 0.6278 GB, free: 62.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003037/1.417, allocations: 322.2 kB / 0.6281 GB, free: 62.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01949/1.436, allocations: 7.241 MB / 0.6351 GB, free: 54.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06052/1.497, allocations: 28.84 MB / 0.6633 GB, free: 25.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/1.512, allocations: 16.4 MB / 0.6793 GB, free: 7.395 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005711/1.518, allocations: 2.889 MB / 0.6821 GB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2989/1.817, allocations: 7.776 MB / 0.6897 GB, free: 76.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/1.817, allocations: 64.55 kB / 0.6898 GB, free: 76.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=256): time 7.658e-06/1.817, allocations: 0 / 0.6898 GB, free: 76.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=262): time 0.01937/1.836, allocations: 7.812 MB / 0.6974 GB, free: 74.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/1.836, allocations: 81.22 kB / 0.6975 GB, free: 74.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006963/1.843, allocations: 2.912 MB / 0.7003 GB, free: 74.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004759/1.844, allocations: 70.39 kB / 0.7004 GB, free: 74.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002091/1.846, allocations: 2.853 MB / 0.7032 GB, free: 73.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.847, allocations: 0.9024 MB / 0.7041 GB, free: 72.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/1.847, allocations: 67.25 kB / 0.7041 GB, free: 72.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002493/1.848, allocations: 447.5 kB / 0.7046 GB, free: 72.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003009/1.851, allocations: 1.308 MB / 0.7059 GB, free: 72.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/1.854, allocations: 2.297 MB / 0.7081 GB, free: 71.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/1.858, allocations: 1.763 MB / 0.7098 GB, free: 70.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.029e-05/1.858, allocations: 8.875 kB / 0.7098 GB, free: 70.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.008918/1.867, allocations: 4.197 MB / 0.7139 GB, free: 70.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/1.867, allocations: 22.16 kB / 0.7139 GB, free: 70.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.847e-05/1.867, allocations: 29.75 kB / 0.714 GB, free: 70.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/1.868, allocations: 398.1 kB / 0.7144 GB, free: 70.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004204/1.873, allocations: 0.7871 MB / 0.7151 GB, free: 70.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007222/1.88, allocations: 7.317 MB / 0.7223 GB, free: 65.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/1.884, allocations: 167.1 kB / 0.7224 GB, free: 65.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005812/1.884, allocations: 147.6 kB / 0.7226 GB, free: 65.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (406): * Single equations (assignments): 400 * 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%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007326/1.885, allocations: 315.9 kB / 0.7229 GB, free: 65.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009411/1.886, allocations: 362.5 kB / 0.7232 GB, free: 65.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00901/1.895, allocations: 4.078 MB / 0.7272 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/1.895, allocations: 27.09 kB / 0.7272 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/1.895, allocations: 12.22 kB / 0.7272 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.414e-05/1.895, allocations: 11.2 kB / 0.7272 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02153/1.917, allocations: 9.683 MB / 0.7367 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.917, allocations: 3.625 kB / 0.7367 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/1.919, allocations: 408.3 kB / 0.7371 GB, free: 62.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/1.922, allocations: 0.8493 MB / 0.7379 GB, free: 62.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003901/1.923, allocations: 73.84 kB / 0.738 GB, free: 62.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/1.941, allocations: 16.01 MB / 0.7536 GB, free: 49.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/1.941, allocations: 4.844 kB / 0.7536 GB, free: 49.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.953, allocations: 6.087 MB / 0.7596 GB, free: 46.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/1.955, allocations: 0.7486 MB / 0.7603 GB, free: 46.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008697/1.956, allocations: 60.08 kB / 0.7604 GB, free: 46.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.959, allocations: 150.7 kB / 0.7605 GB, free: 46.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005318/1.959, allocations: 199.6 kB / 0.7607 GB, free: 46.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/1.96, allocations: 77.34 kB / 0.7608 GB, free: 46.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00448/1.964, allocations: 2.208 MB / 0.7629 GB, free: 45.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.964, allocations: 0 / 0.7629 GB, free: 45.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005922/1.97, allocations: 1.193 MB / 0.7641 GB, free: 45.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 187 * 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 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0012/1.971, allocations: 0.6528 MB / 0.7647 GB, free: 44.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007223/1.979, allocations: 3.842 MB / 0.7685 GB, free: 43.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.955e-06/1.979, allocations: 3.125 kB / 0.7685 GB, free: 43.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005255/1.984, allocations: 2.702 MB / 0.7711 GB, free: 41.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/1.989, allocations: 0.9207 MB / 0.772 GB, free: 41.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/2.012, allocations: 9.777 MB / 0.7816 GB, free: 36.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005599/2.018, allocations: 4.241 MB / 0.7857 GB, free: 33.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/2.019, allocations: 277.2 kB / 0.786 GB, free: 33.36 MB / 442.7 MB Notification: Performance of SimCode: time 2.039e-06/2.02, allocations: 0 / 0.786 GB, free: 33.36 MB / 442.7 MB Notification: Performance of Templates: time 0.9192/2.939, allocations: 285.4 MB / 1.065 GB, free: 136.3 MB / 0.4948 GB