Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.761/1.761, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.516e-05, allocations: 0 / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08052/0.08057, allocations: 38.76 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01046/0.09108, allocations: 6.319 MB / 273.2 MB, free: 10.13 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005664/0.0968, allocations: 2.332 MB / 275.6 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.09792, allocations: 35.94 kB / 275.6 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.09953, allocations: 393.8 kB / 276 MB, free: 7.367 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.1016, allocations: 450.5 kB / 276.4 MB, free: 6.926 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.1023, allocations: 147.8 kB / 276.6 MB, free: 6.781 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002546/0.1049, allocations: 0.8038 MB / 277.4 MB, free: 5.977 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007251/0.1056, allocations: 304.2 kB / 277.7 MB, free: 5.676 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007472/0.1064, allocations: 374.9 kB / 278 MB, free: 5.309 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007743/0.1072, allocations: 430.4 kB / 278.5 MB, free: 4.887 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.1076, allocations: 83.97 kB / 278.5 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.1079, allocations: 44 kB / 278.6 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.1081, allocations: 159.2 kB / 278.7 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003347/0.1084, allocations: 112 kB / 278.8 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.1105, allocations: 1.305 MB / 280.2 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1105, allocations: 0 / 280.2 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1105, allocations: 0 / 280.2 MB, free: 3.188 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.802e-05/0.1106, allocations: 0 / 280.2 MB, free: 3.188 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003/0.1136, allocations: 1.127 MB / 281.3 MB, free: 2.012 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.1137, allocations: 8.031 kB / 281.3 MB, free: 2.004 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009502/0.1146, allocations: 182.3 kB / 281.5 MB, free: 1.824 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.1165, allocations: 0.7028 MB / 282.2 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/0.1167, allocations: 74 kB / 282.2 MB, free: 1.004 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.1169, allocations: 96 kB / 282.3 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.1196, allocations: 0.9229 MB / 283.3 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/0.1196, allocations: 3.906 kB / 283.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.1198, allocations: 40 kB / 283.3 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.1198, allocations: 27.94 kB / 283.3 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.122, allocations: 0.6364 MB / 284 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008172/0.1302, allocations: 3.895 MB / 287.9 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1313, allocations: 454.5 kB / 288.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.1314, allocations: 4.328 kB / 288.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.1315, allocations: 34.89 kB / 288.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 3.286e-06/0.1315, allocations: 0 / 288.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=44): time 0.003969/0.1354, allocations: 1.39 MB / 289.7 MB, free: 9.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.1355, allocations: 85.05 kB / 289.8 MB, free: 9.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.137, allocations: 0.6684 MB / 290.5 MB, free: 8.379 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.137, allocations: 33.7 kB / 290.5 MB, free: 8.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005858/0.1376, allocations: 0.5642 MB / 291.1 MB, free: 7.766 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.1378, allocations: 157.8 kB / 291.2 MB, free: 7.609 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.1379, allocations: 16 kB / 291.2 MB, free: 7.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1381, allocations: 330 kB / 291.6 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.1387, allocations: 161.9 kB / 291.7 MB, free: 7.105 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/0.1395, allocations: 460 kB / 292.2 MB, free: 6.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007212/0.1402, allocations: 237.5 kB / 292.4 MB, free: 6.289 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.1402, allocations: 7.953 kB / 292.4 MB, free: 6.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002116/0.1424, allocations: 0.7402 MB / 293.2 MB, free: 5.527 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.1424, allocations: 20.05 kB / 293.2 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.1425, allocations: 8 kB / 293.2 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.1428, allocations: 73.64 kB / 293.3 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009493/0.1438, allocations: 155.8 kB / 293.4 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/0.1469, allocations: 2.806 MB / 296.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009059/0.1478, allocations: 35.98 kB / 296.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.1479, allocations: 40.06 kB / 296.3 MB, free: 2.121 MB / 250.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.0006021/0.1486, allocations: 261.4 kB / 296.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.1488, allocations: 90.88 kB / 296.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.1502, allocations: 475.8 kB / 297.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.1502, allocations: 7.953 kB / 297.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1503, allocations: 128 / 297.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.1503, allocations: 7.922 kB / 297.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2143/0.3646, allocations: 1.371 MB / 298.5 MB, free: 28.9 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.3647, allocations: 3.359 kB / 298.5 MB, free: 28.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.3653, allocations: 76.05 kB / 298.6 MB, free: 28.9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002934/0.3656, allocations: 63.42 kB / 298.6 MB, free: 28.88 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.3657, allocations: 11.2 kB / 298.6 MB, free: 28.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.368, allocations: 2.794 MB / 301.4 MB, free: 26.33 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.368, allocations: 2.75 kB / 301.4 MB, free: 26.33 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.37, allocations: 0.8366 MB / 302.3 MB, free: 26 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.3704, allocations: 191.5 kB / 302.5 MB, free: 25.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.3706, allocations: 14.09 kB / 302.5 MB, free: 25.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/0.3713, allocations: 30.52 kB / 302.5 MB, free: 25.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3714, allocations: 34.25 kB / 302.5 MB, free: 25.9 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.3715, allocations: 13.06 kB / 302.5 MB, free: 25.9 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001013/0.3725, allocations: 0.5155 MB / 303.1 MB, free: 25.81 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3725, allocations: 1.906 kB / 303.1 MB, free: 25.81 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001057/0.3736, allocations: 195.7 kB / 303.3 MB, free: 25.81 MB / 250.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.0002478/0.3738, allocations: 125.2 kB / 303.4 MB, free: 25.72 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.3756, allocations: 0.6813 MB / 304.1 MB, free: 25.4 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3756, allocations: 0.5938 kB / 304.1 MB, free: 25.4 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009287/0.3765, allocations: 433.9 kB / 304.5 MB, free: 25.11 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.3781, allocations: 212.9 kB / 304.7 MB, free: 25.05 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.3826, allocations: 2.078 MB / 306.8 MB, free: 23.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/0.3833, allocations: 1.026 MB / 307.8 MB, free: 23.04 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000833/0.3842, allocations: 108.5 kB / 307.9 MB, free: 23.01 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.3845, allocations: 54.34 kB / 308 MB, free: 23 MB / 250.7 MB Notification: Performance of SimCode: time 3.276e-06/0.3845, allocations: 0 / 308 MB, free: 23 MB / 250.7 MB Notification: Performance of Templates: time 0.02805/0.4125, allocations: 8.988 MB / 316.9 MB, free: 19.86 MB / 250.7 MB