Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadModel(Modelica): time 1.783/1.783, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.881e-05, allocations: 6.188 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08735, allocations: 38.77 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.0178/0.1052, allocations: 6.444 MB / 273.4 MB, free: 9.992 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008702/0.114, allocations: 2.379 MB / 275.7 MB, free: 7.605 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.1155, allocations: 31.94 kB / 275.8 MB, free: 7.574 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.1172, allocations: 397.7 kB / 276.2 MB, free: 7.184 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.1193, allocations: 458.6 kB / 276.6 MB, free: 6.734 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007838/0.1201, allocations: 151.8 kB / 276.8 MB, free: 6.586 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002645/0.1228, allocations: 0.8349 MB / 277.6 MB, free: 5.75 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007497/0.1236, allocations: 296.2 kB / 277.9 MB, free: 5.457 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008082/0.1244, allocations: 378.9 kB / 278.3 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008852/0.1253, allocations: 434.4 kB / 278.7 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.1258, allocations: 87.91 kB / 278.8 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.1261, allocations: 44 kB / 278.8 MB, free: 4.531 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.1263, allocations: 171.2 kB / 279 MB, free: 4.363 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.1266, allocations: 112 kB / 279.1 MB, free: 4.254 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.129, allocations: 1.32 MB / 280.4 MB, free: 2.93 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.129, allocations: 0 / 280.4 MB, free: 2.93 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.566e-06/0.129, allocations: 0 / 280.4 MB, free: 2.93 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.21e-05/0.1291, allocations: 4 kB / 280.4 MB, free: 2.926 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003028/0.1321, allocations: 1.15 MB / 281.6 MB, free: 1.727 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1322, allocations: 8.031 kB / 281.6 MB, free: 1.719 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009496/0.1332, allocations: 178.4 kB / 281.7 MB, free: 1.543 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.1352, allocations: 0.7192 MB / 282.5 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1353, allocations: 77.94 kB / 282.5 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.1356, allocations: 103.9 kB / 282.6 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/0.1384, allocations: 0.9346 MB / 283.6 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/0.1386, allocations: 7.984 kB / 283.6 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.1387, allocations: 43.94 kB / 283.6 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.1388, allocations: 28 kB / 283.6 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.1411, allocations: 0.6481 MB / 284.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008904/0.15, allocations: 3.926 MB / 288.2 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.1513, allocations: 444.5 kB / 288.7 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.1514, allocations: 16.67 kB / 288.7 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.1515, allocations: 34.56 kB / 288.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 5.471e-06/0.1515, allocations: 0 / 288.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.004766/0.1563, allocations: 1.445 MB / 290.2 MB, free: 8.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.1564, allocations: 81.11 kB / 290.2 MB, free: 8.625 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.158, allocations: 0.688 MB / 290.9 MB, free: 7.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.276e-05/0.1581, allocations: 33.7 kB / 291 MB, free: 7.891 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000614/0.1587, allocations: 0.572 MB / 291.5 MB, free: 7.309 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.159, allocations: 161.7 kB / 291.7 MB, free: 7.148 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.159, allocations: 12 kB / 291.7 MB, free: 7.137 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1592, allocations: 337.9 kB / 292 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.1599, allocations: 177.9 kB / 292.2 MB, free: 6.625 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008687/0.1608, allocations: 467.6 kB / 292.7 MB, free: 6.031 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008029/0.1616, allocations: 247.6 kB / 292.9 MB, free: 5.789 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.1617, allocations: 7.938 kB / 292.9 MB, free: 5.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002434/0.1641, allocations: 0.7753 MB / 293.7 MB, free: 4.992 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.1642, allocations: 12 kB / 293.7 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.1642, allocations: 11.95 kB / 293.7 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/0.1646, allocations: 81.88 kB / 293.8 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.1656, allocations: 159.7 kB / 293.9 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.1688, allocations: 2.806 MB / 296.7 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009781/0.1698, allocations: 39.89 kB / 296.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-05/0.1699, allocations: 36 kB / 296.8 MB, free: 1.578 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 (86): * Single equations (assignments): 84 * 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.0006461/0.1706, allocations: 261.6 kB / 297.1 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.1708, allocations: 87.2 kB / 297.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.1724, allocations: 0.4954 MB / 297.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.1724, allocations: 4 kB / 297.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1724, allocations: 8 kB / 297.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1724, allocations: 0 / 297.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2145/0.3869, allocations: 1.419 MB / 299.1 MB, free: 28.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.387, allocations: 4.125 kB / 299.1 MB, free: 28.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.3876, allocations: 79.91 kB / 299.2 MB, free: 28.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/0.3879, allocations: 58.83 kB / 299.2 MB, free: 28.83 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.388, allocations: 10.19 kB / 299.2 MB, free: 28.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.3903, allocations: 2.788 MB / 302 MB, free: 26.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3904, allocations: 3.641 kB / 302 MB, free: 26.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.3925, allocations: 0.875 MB / 302.9 MB, free: 25.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/0.393, allocations: 196.1 kB / 303.1 MB, free: 25.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.3932, allocations: 18.14 kB / 303.1 MB, free: 25.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/0.394, allocations: 33.02 kB / 303.1 MB, free: 25.83 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3941, allocations: 34.34 kB / 303.2 MB, free: 25.83 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.3941, allocations: 14.17 kB / 303.2 MB, free: 25.83 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001188/0.3953, allocations: 0.5265 MB / 303.7 MB, free: 25.62 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3954, allocations: 0 / 303.7 MB, free: 25.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001407/0.3968, allocations: 201.3 kB / 303.9 MB, free: 25.6 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 (40): * Single equations (assignments): 38 * 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.0002619/0.3971, allocations: 125.4 kB / 304 MB, free: 25.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.399, allocations: 0.7005 MB / 304.7 MB, free: 25.14 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.399, allocations: 0 / 304.7 MB, free: 25.14 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009552/0.4, allocations: 455.4 kB / 305.2 MB, free: 24.84 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.4016, allocations: 200.7 kB / 305.4 MB, free: 24.79 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.4059, allocations: 2.117 MB / 307.5 MB, free: 23.46 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.4067, allocations: 1.04 MB / 308.5 MB, free: 22.74 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0008453/0.4076, allocations: 104.5 kB / 308.6 MB, free: 22.71 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.4078, allocations: 59.86 kB / 308.7 MB, free: 22.7 MB / 250.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4078, allocations: 0 / 308.7 MB, free: 22.7 MB / 250.7 MB Notification: Performance of Templates: time 0.0297/0.4375, allocations: 9.141 MB / 317.8 MB, free: 19.35 MB / 250.7 MB