Running command: translateModel(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") Notification: Performance of loadModel(ModelicaTest): time 2.759/2.759, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.902e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4129, allocations: 54.86 MB / 362.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.01718/0.4301, allocations: 9.293 MB / 372.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.4415, allocations: 3.45 MB / 375.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002891/0.4445, allocations: 87.69 kB / 375.7 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.4477, allocations: 0.6447 MB / 376.3 MB, free: 264 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.4528, allocations: 0.7671 MB / 377.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.4551, allocations: 339.5 kB / 377.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00577/0.4609, allocations: 1.607 MB / 379.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004031/0.465, allocations: 1.659 MB / 380.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.4673, allocations: 0.8453 MB / 381.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003595/0.4709, allocations: 1.25 MB / 382.8 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.473, allocations: 199.8 kB / 383 MB, free: 9.574 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.4742, allocations: 108 kB / 383.1 MB, free: 9.469 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002104/0.4763, allocations: 0.806 MB / 383.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.4781, allocations: 252 kB / 384.2 MB, free: 8.414 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008988/0.4872, allocations: 4.402 MB / 388.6 MB, free: 4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4872, allocations: 0 / 388.6 MB, free: 4 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.374e-06/0.4873, allocations: 0 / 388.6 MB, free: 4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002867/0.4876, allocations: 3.938 kB / 388.6 MB, free: 3.996 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.01085/0.4984, allocations: 2.894 MB / 391.5 MB, free: 1.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.4985, allocations: 11.97 kB / 391.5 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.501, allocations: 391.5 kB / 391.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007116/0.5081, allocations: 1.896 MB / 393.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.5085, allocations: 209.6 kB / 394 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.5098, allocations: 283.8 kB / 394.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.5238, allocations: 3.664 MB / 397.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/0.524, allocations: 7.906 kB / 397.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000572/0.5246, allocations: 112 kB / 398 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002452/0.5248, allocations: 145.5 kB / 398.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.5364, allocations: 3.094 MB / 401.2 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03807/0.5746, allocations: 11.45 MB / 412.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005785/0.5804, allocations: 2.08 MB / 414.8 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005467/0.581, allocations: 211.5 kB / 415 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.5811, allocations: 48.34 kB / 415 MB, free: 8.855 MB / 346.7 MB Notification: Performance of pre-optimization done (n=138): time 4.328e-06/0.5811, allocations: 0 / 415 MB, free: 8.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=153): time 0.03489/0.616, allocations: 7.994 MB / 423 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.6162, allocations: 68.72 kB / 423.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005335/0.6215, allocations: 1.653 MB / 424.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000493/0.6221, allocations: 53.7 kB / 424.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001751/0.6239, allocations: 1.362 MB / 426.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009912/0.6249, allocations: 0.516 MB / 426.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.6251, allocations: 36 kB / 426.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.6253, allocations: 377.8 kB / 427.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002641/0.628, allocations: 0.855 MB / 427.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/0.6312, allocations: 1.317 MB / 429.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/0.6346, allocations: 1.076 MB / 430.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.93e-05/0.6347, allocations: 4 kB / 430.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.008993/0.6437, allocations: 2.853 MB / 433.2 MB, free: 6.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.6438, allocations: 12 kB / 433.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.862e-05/0.6438, allocations: 12.41 kB / 433.2 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.6454, allocations: 367.2 kB / 433.6 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/0.649, allocations: 455.2 kB / 434 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009287/0.6583, allocations: 6.103 MB / 440.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.6612, allocations: 120.2 kB / 440.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/0.6616, allocations: 71.98 kB / 440.3 MB, free: 14.76 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 205 * 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: 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 {(2,100.0%) 9,(1,100.0%) 2,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002811/0.6644, allocations: 0.9087 MB / 441.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007389/0.6652, allocations: 209.5 kB / 441.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.6755, allocations: 2.864 MB / 444.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.6756, allocations: 16 kB / 444.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/0.6756, allocations: 8 kB / 444.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.15e-05/0.6757, allocations: 11.97 kB / 444.3 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/0.6941, allocations: 5.998 MB / 450.3 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.6942, allocations: 4 kB / 450.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/0.6963, allocations: 231.7 kB / 450.6 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00372/0.7, allocations: 0.7956 MB / 451.3 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002995/0.7004, allocations: 43.88 kB / 451.4 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02107/0.7215, allocations: 10.1 MB / 461.5 MB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.7215, allocations: 7.938 kB / 461.5 MB, free: 9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/0.734, allocations: 4.334 MB / 465.8 MB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/0.7359, allocations: 494.2 kB / 466.3 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006222/0.7366, allocations: 39.98 kB / 466.4 MB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/0.7386, allocations: 91.89 kB / 466.4 MB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/0.7391, allocations: 117 kB / 466.6 MB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/0.7392, allocations: 51.97 kB / 466.6 MB, free: 3.652 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00325/0.7425, allocations: 1.274 MB / 467.9 MB, free: 2.355 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.7425, allocations: 0 / 467.9 MB, free: 2.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004627/0.7472, allocations: 0.5664 MB / 468.5 MB, free: 1.789 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 9,(1,100.0%) 2,(5,84.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007367/0.748, allocations: 164 kB / 468.6 MB, free: 1.621 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006723/0.7547, allocations: 2.565 MB / 471.2 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.7548, allocations: 0.8125 kB / 471.2 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004734/0.7595, allocations: 1.662 MB / 472.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/0.7638, allocations: 492.4 kB / 473.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.7818, allocations: 6.77 MB / 480.1 MB, free: 5.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004638/0.7865, allocations: 2.256 MB / 482.3 MB, free: 3.676 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003225/0.7898, allocations: 477.5 kB / 482.8 MB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.7909, allocations: 147.4 kB / 483 MB, free: 3.062 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7909, allocations: 0 / 483 MB, free: 3.062 MB / 410.7 MB Notification: Performance of Templates: time 0.4604/1.251, allocations: 29.17 MB / 0.5001 GB, free: 111.4 MB / 426.7 MB