Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.055e-05, allocations: 4 kB / 258.8 MB, free: 8.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3094, allocations: 44.49 MB / 303.3 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01062/0.3201, allocations: 6.172 MB / 309.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005891/0.326, allocations: 2.293 MB / 311.8 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.3273, allocations: 31.94 kB / 311.8 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.3288, allocations: 369.9 kB / 312.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.3309, allocations: 430.6 kB / 312.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008189/0.3317, allocations: 143.8 kB / 312.7 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.3339, allocations: 0.6907 MB / 313.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.3346, allocations: 293.5 kB / 313.7 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.3352, allocations: 311.1 kB / 314 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/0.3358, allocations: 362.6 kB / 314.3 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.3362, allocations: 79.91 kB / 314.4 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.3364, allocations: 36 kB / 314.5 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3366, allocations: 135.3 kB / 314.6 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.3368, allocations: 100 kB / 314.7 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.3386, allocations: 1.087 MB / 315.8 MB, free: 1.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3386, allocations: 0 / 315.8 MB, free: 1.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.3387, allocations: 0 / 315.8 MB, free: 1.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.014e-05/0.3387, allocations: 0 / 315.8 MB, free: 1.145 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002705/0.3414, allocations: 1.045 MB / 316.8 MB, free: 48 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3415, allocations: 8.031 kB / 316.8 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005998/0.3421, allocations: 130.8 kB / 317 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.3436, allocations: 0.6171 MB / 317.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.3437, allocations: 62 kB / 317.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.3439, allocations: 87.91 kB / 317.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.3461, allocations: 0.8145 MB / 318.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.3462, allocations: 4 kB / 318.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.3463, allocations: 32 kB / 318.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.3464, allocations: 23.94 kB / 318.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.3482, allocations: 0.5544 MB / 319.1 MB, free: 13.64 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007087/0.3553, allocations: 3.443 MB / 322.6 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/0.3562, allocations: 242.6 kB / 322.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.3562, allocations: 8 kB / 322.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.3563, allocations: 34.56 kB / 322.9 MB, free: 9.688 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.815e-06/0.3563, allocations: 0 / 322.9 MB, free: 9.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.003247/0.3595, allocations: 1.106 MB / 324 MB, free: 8.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.3596, allocations: 81.11 kB / 324.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.3608, allocations: 0.6132 MB / 324.7 MB, free: 7.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.3609, allocations: 33.7 kB / 324.7 MB, free: 7.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.3614, allocations: 0.5316 MB / 325.2 MB, free: 7.207 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3615, allocations: 110.5 kB / 325.3 MB, free: 7.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.3616, allocations: 16 kB / 325.4 MB, free: 7.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3617, allocations: 330.8 kB / 325.7 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.3622, allocations: 137.2 kB / 325.8 MB, free: 6.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/0.363, allocations: 454.2 kB / 326.3 MB, free: 6.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.3637, allocations: 216 kB / 326.5 MB, free: 5.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.3637, allocations: 4 kB / 326.5 MB, free: 5.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001731/0.3654, allocations: 0.5999 MB / 327.1 MB, free: 5.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.3655, allocations: 16.19 kB / 327.1 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.3655, allocations: 8 kB / 327.1 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.3657, allocations: 36.84 kB / 327.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/0.3667, allocations: 163.7 kB / 327.3 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.368, allocations: 1.295 MB / 328.6 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/0.3688, allocations: 48.12 kB / 328.6 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.3688, allocations: 32 kB / 328.7 MB, free: 3.469 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005168/0.3694, allocations: 237.5 kB / 328.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.3695, allocations: 75.06 kB / 329 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.3706, allocations: 357.8 kB / 329.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3707, allocations: 4 kB / 329.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3707, allocations: 0 / 329.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3707, allocations: 0 / 329.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.3732, allocations: 1.106 MB / 330.4 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.3732, allocations: 3.953 kB / 330.4 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.3738, allocations: 67.91 kB / 330.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.3739, allocations: 29.06 kB / 330.5 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.374, allocations: 8 kB / 330.5 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.3752, allocations: 1.28 MB / 331.8 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3752, allocations: 0 / 331.8 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.3769, allocations: 0.6703 MB / 332.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.3774, allocations: 172.2 kB / 332.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.3776, allocations: 11.98 kB / 332.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.3781, allocations: 23.98 kB / 332.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3782, allocations: 31.86 kB / 332.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3783, allocations: 8 kB / 332.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009322/0.3792, allocations: 483 kB / 333.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3792, allocations: 0 / 333.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00102/0.3803, allocations: 172 kB / 333.4 MB, free: 14.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.3806, allocations: 115.2 kB / 333.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.3821, allocations: 488 kB / 334 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3822, allocations: 0 / 334 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006234/0.3828, allocations: 251.6 kB / 334.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.3842, allocations: 171.3 kB / 334.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.3882, allocations: 1.821 MB / 336.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.3889, allocations: 0.9684 MB / 337.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.3892, allocations: 55.42 kB / 337.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3892, allocations: 3.938 kB / 337.2 MB, free: 10.47 MB / 282.7 MB Notification: Performance of Templates: time 0.02981/0.4191, allocations: 12.98 MB / 350.2 MB, free: 13.5 MB / 298.7 MB