Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.762/1.762, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.102e-05, allocations: 7.984 kB / 228.2 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.08529, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.0107/0.09605, allocations: 6.163 MB / 273.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.1018, allocations: 2.293 MB / 275.4 MB, free: 7.977 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008626/0.1027, allocations: 35.94 kB / 275.4 MB, free: 7.941 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.104, allocations: 358 kB / 275.8 MB, free: 7.59 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.1055, allocations: 434.6 kB / 276.2 MB, free: 7.164 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.106, allocations: 139.9 kB / 276.3 MB, free: 7.027 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.1078, allocations: 0.6907 MB / 277 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006301/0.1084, allocations: 289.5 kB / 277.3 MB, free: 6.051 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005994/0.109, allocations: 311.1 kB / 277.6 MB, free: 5.746 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006801/0.1097, allocations: 362.6 kB / 278 MB, free: 5.391 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.1101, allocations: 71.92 kB / 278 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1103, allocations: 36 kB / 278.1 MB, free: 5.285 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.1105, allocations: 135.4 kB / 278.2 MB, free: 5.152 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.1108, allocations: 104 kB / 278.3 MB, free: 5.051 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.1125, allocations: 1.087 MB / 279.4 MB, free: 3.961 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1125, allocations: 0 / 279.4 MB, free: 3.961 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1126, allocations: 0 / 279.4 MB, free: 3.961 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.338e-05/0.1126, allocations: 0 / 279.4 MB, free: 3.961 MB / 234.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.003989/0.1166, allocations: 1.045 MB / 280.4 MB, free: 2.863 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.1167, allocations: 8.031 kB / 280.4 MB, free: 2.855 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.1178, allocations: 138.7 kB / 280.6 MB, free: 2.719 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.1203, allocations: 0.6133 MB / 281.2 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.1205, allocations: 62 kB / 281.2 MB, free: 2 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004054/0.121, allocations: 87.98 kB / 281.3 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.1244, allocations: 0.8144 MB / 282.1 MB, free: 1.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.563e-05/0.1245, allocations: 7.906 kB / 282.2 MB, free: 1.062 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.1247, allocations: 36 kB / 282.2 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.1248, allocations: 20 kB / 282.2 MB, free: 1.008 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.1272, allocations: 0.5504 MB / 282.8 MB, free: 468 kB / 234.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.006756/0.1339, allocations: 3.479 MB / 286.2 MB, free: 12.76 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/0.1348, allocations: 238.7 kB / 286.5 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.1349, allocations: 4 kB / 286.5 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.1349, allocations: 38.5 kB / 286.5 MB, free: 12.47 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 2.935e-06/0.1349, allocations: 0 / 286.5 MB, free: 12.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.003282/0.1382, allocations: 1.099 MB / 287.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.1383, allocations: 81.11 kB / 287.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.1396, allocations: 0.6209 MB / 288.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.1396, allocations: 33.7 kB / 288.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000524/0.1402, allocations: 0.5136 MB / 288.9 MB, free: 10 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.1403, allocations: 110.5 kB / 289 MB, free: 9.895 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.1404, allocations: 16 kB / 289 MB, free: 9.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002867/0.1407, allocations: 378.8 kB / 289.4 MB, free: 9.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.1412, allocations: 133.2 kB / 289.5 MB, free: 9.371 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.142, allocations: 450.2 kB / 289.9 MB, free: 8.777 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/0.1426, allocations: 211.9 kB / 290.1 MB, free: 8.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.1427, allocations: 4 kB / 290.1 MB, free: 8.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001901/0.1446, allocations: 0.658 MB / 290.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.1446, allocations: 11.95 kB / 290.8 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.1446, allocations: 12 kB / 290.8 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.1449, allocations: 36.84 kB / 290.9 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/0.1458, allocations: 151.7 kB / 291 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.1472, allocations: 1.299 MB / 292.3 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008152/0.148, allocations: 44.14 kB / 292.3 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.1481, allocations: 35.94 kB / 292.4 MB, free: 6.176 MB / 250.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.0005039/0.1486, allocations: 241.5 kB / 292.6 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.1488, allocations: 79.02 kB / 292.7 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.1499, allocations: 350.4 kB / 293 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.1499, allocations: 4 kB / 293 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1499, allocations: 0 / 293 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.1499, allocations: 3.984 kB / 293 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.1525, allocations: 1.088 MB / 294.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.1525, allocations: 4 kB / 294.1 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/0.1531, allocations: 67.89 kB / 294.2 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.1532, allocations: 25.08 kB / 294.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.1533, allocations: 11.98 kB / 294.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.1545, allocations: 1.284 MB / 295.5 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.1546, allocations: 7.969 kB / 295.5 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.1562, allocations: 0.6735 MB / 296.2 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.1566, allocations: 168.3 kB / 296.4 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.1567, allocations: 8 kB / 296.4 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.1573, allocations: 27.89 kB / 296.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/0.1574, allocations: 24.05 kB / 296.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.1575, allocations: 11.98 kB / 296.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0009314/0.1584, allocations: 479 kB / 296.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1584, allocations: 0 / 296.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009652/0.1594, allocations: 168 kB / 297.1 MB, free: 1.145 MB / 250.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.0002543/0.1597, allocations: 123.1 kB / 297.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.1611, allocations: 495.5 kB / 297.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1611, allocations: 4 kB / 297.7 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006292/0.1618, allocations: 251.8 kB / 297.9 MB, free: 268 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.1632, allocations: 175.2 kB / 298.1 MB, free: 92 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2058/0.3691, allocations: 1.763 MB / 299.9 MB, free: 29.14 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.3697, allocations: 0.9707 MB / 300.8 MB, free: 28.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0006262/0.3704, allocations: 89.23 kB / 300.9 MB, free: 28.41 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.3705, allocations: 50.22 kB / 301 MB, free: 28.4 MB / 250.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3705, allocations: 4 kB / 301 MB, free: 28.4 MB / 250.7 MB Notification: Performance of Templates: time 0.02446/0.395, allocations: 7.139 MB / 308.1 MB, free: 26.46 MB / 250.7 MB