Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 2.232/2.232, allocations: 194.9 MB / 211.2 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.049e-05, allocations: 7.906 kB / 258.8 MB, free: 8.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.312, allocations: 44.49 MB / 303.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01107/0.3231, allocations: 6.319 MB / 309.6 MB, free: 7.328 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006182/0.3294, allocations: 2.341 MB / 312 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.3308, allocations: 35.94 kB / 312 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.3327, allocations: 397.7 kB / 312.4 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.3349, allocations: 438.6 kB / 312.8 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008889/0.3359, allocations: 163.7 kB / 313 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002865/0.3387, allocations: 0.8115 MB / 313.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008581/0.3397, allocations: 296.2 kB / 314.1 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009426/0.3406, allocations: 374.9 kB / 314.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00089/0.3416, allocations: 422.5 kB / 314.8 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004666/0.342, allocations: 79.97 kB / 314.9 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.3423, allocations: 47.94 kB / 315 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.3425, allocations: 163.2 kB / 315.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.3429, allocations: 112 kB / 315.2 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.3452, allocations: 1.32 MB / 316.6 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3452, allocations: 0 / 316.6 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd: time 3.928e-06/0.3453, allocations: 0 / 316.6 MB, free: 360 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.774e-05/0.3453, allocations: 0 / 316.6 MB, free: 360 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003159/0.3485, allocations: 1.123 MB / 317.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.3486, allocations: 8.031 kB / 317.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.3496, allocations: 178.4 kB / 317.9 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.3517, allocations: 0.7029 MB / 318.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-05/0.3518, allocations: 74 kB / 318.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.3521, allocations: 103.9 kB / 318.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.3549, allocations: 0.9229 MB / 319.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/0.355, allocations: 0 / 319.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.3551, allocations: 44 kB / 319.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.3552, allocations: 24 kB / 319.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.3575, allocations: 0.6364 MB / 320.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008885/0.3664, allocations: 3.895 MB / 324.3 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.3676, allocations: 436.1 kB / 324.7 MB, free: 7.848 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.726e-05/0.3677, allocations: 8.266 kB / 324.7 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.3677, allocations: 42.88 kB / 324.7 MB, free: 7.789 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 3.176e-06/0.3678, allocations: 0 / 324.7 MB, free: 7.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.004318/0.3721, allocations: 1.371 MB / 326.1 MB, free: 6.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.3722, allocations: 85.11 kB / 326.2 MB, free: 6.242 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.3738, allocations: 0.676 MB / 326.9 MB, free: 5.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/0.3739, allocations: 33.7 kB / 326.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/0.3745, allocations: 0.5706 MB / 327.5 MB, free: 4.941 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.3747, allocations: 161.8 kB / 327.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.3747, allocations: 12 kB / 327.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3749, allocations: 342.8 kB / 328 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.3755, allocations: 165.9 kB / 328.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/0.3764, allocations: 459.9 kB / 328.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007604/0.3772, allocations: 241.5 kB / 328.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.3772, allocations: 4 kB / 328.8 MB, free: 3.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00203/0.3793, allocations: 0.6935 MB / 329.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.3793, allocations: 8.438 kB / 329.5 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.3794, allocations: 8 kB / 329.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/0.3797, allocations: 73.69 kB / 329.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.3807, allocations: 155.7 kB / 329.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/0.384, allocations: 2.802 MB / 332.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009727/0.385, allocations: 35.98 kB / 332.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.3851, allocations: 35.95 kB / 332.6 MB, free: 15.35 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006204/0.3857, allocations: 261.6 kB / 332.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.386, allocations: 86.97 kB / 333 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.3875, allocations: 487.5 kB / 333.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.3875, allocations: 4 kB / 333.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3875, allocations: 0 / 333.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3876, allocations: 0 / 333.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.391, allocations: 1.383 MB / 334.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.3911, allocations: 0 / 334.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.3917, allocations: 83.83 kB / 334.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002844/0.392, allocations: 57.69 kB / 335 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.392, allocations: 12.22 kB / 335 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/0.3951, allocations: 2.79 MB / 337.8 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.3952, allocations: 7.891 kB / 337.8 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.3974, allocations: 0.8434 MB / 338.6 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.3979, allocations: 184.1 kB / 338.8 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.3981, allocations: 12 kB / 338.8 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/0.3987, allocations: 31.98 kB / 338.9 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.3989, allocations: 35.84 kB / 338.9 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.3989, allocations: 16 kB / 338.9 MB, free: 8.582 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.4, allocations: 0.5146 MB / 339.4 MB, free: 8.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4001, allocations: 0 / 339.4 MB, free: 8.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001271/0.4013, allocations: 200 kB / 339.6 MB, free: 7.875 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000295/0.4017, allocations: 123.2 kB / 339.7 MB, free: 7.746 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.4036, allocations: 0.6898 MB / 340.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4036, allocations: 0 / 340.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.4046, allocations: 438.3 kB / 340.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.4064, allocations: 199.4 kB / 341 MB, free: 6.387 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.4114, allocations: 2.12 MB / 343.2 MB, free: 4.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/0.4124, allocations: 1.024 MB / 344.2 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.4127, allocations: 63.42 kB / 344.3 MB, free: 3.098 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4128, allocations: 0 / 344.3 MB, free: 3.098 MB / 282.7 MB Notification: Performance of Templates: time 0.04327/0.456, allocations: 19.59 MB / 363.8 MB, free: 15.51 MB / 314.7 MB