Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.496e-05/2.512e-05, allocations: 7.984 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09568, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.497, allocations: 93.89 MB / 393.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.4973, allocations: 82.89 kB / 393.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1459/0.6432, allocations: 28.57 MB / 422.4 MB, free: 8.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.098e-06/0.6432, allocations: 0 / 422.4 MB, free: 8.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.6434, allocations: 24.81 kB / 422.5 MB, free: 8.922 MB / 314.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.003103/0.6465, allocations: 1.134 MB / 423.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.6466, allocations: 7.625 kB / 423.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.648, allocations: 193.6 kB / 423.8 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/0.6509, allocations: 0.8042 MB / 424.6 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.651, allocations: 69.62 kB / 424.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.6513, allocations: 104.3 kB / 424.8 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.6539, allocations: 0.8887 MB / 425.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.654, allocations: 0 / 425.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.6541, allocations: 42.69 kB / 425.7 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.6542, allocations: 22.5 kB / 425.7 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.6556, allocations: 0.5841 MB / 426.3 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006143/0.6618, allocations: 3.949 MB / 430.2 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/0.6625, allocations: 434.3 kB / 430.7 MB, free: 4.781 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/0.6631, allocations: 250.4 kB / 430.9 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.6632, allocations: 11.95 kB / 430.9 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.6632, allocations: 42.19 kB / 431 MB, free: 4.703 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.353e-05/0.6633, allocations: 0 / 431 MB, free: 4.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002647/0.6659, allocations: 1.217 MB / 432.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.666, allocations: 81.39 kB / 432.3 MB, free: 4.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.6671, allocations: 0.6981 MB / 433 MB, free: 3.844 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.6672, allocations: 32.83 kB / 433 MB, free: 3.812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.6676, allocations: 0.5669 MB / 433.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.6677, allocations: 166.1 kB / 433.7 MB, free: 3.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.6677, allocations: 14.31 kB / 433.7 MB, free: 3.348 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.6678, allocations: 343.2 kB / 434.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.6682, allocations: 153.8 kB / 434.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.6687, allocations: 448.9 kB / 434.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.6694, allocations: 235.4 kB / 434.9 MB, free: 2.602 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.6694, allocations: 4 kB / 434.9 MB, free: 2.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002722/0.6722, allocations: 0.7407 MB / 435.6 MB, free: 2.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.6722, allocations: 10.03 kB / 435.6 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.6723, allocations: 12 kB / 435.7 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.6729, allocations: 92.27 kB / 435.7 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.6742, allocations: 174.7 kB / 435.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004382/0.6786, allocations: 2.995 MB / 438.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.6802, allocations: 42.58 kB / 439 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.6804, allocations: 35.19 kB / 439 MB, free: 14.8 MB / 330.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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.6808, allocations: 156.5 kB / 439.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.6811, allocations: 90.92 kB / 439.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.6832, allocations: 0.4969 MB / 439.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.6833, allocations: 4 kB / 439.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-06/0.6833, allocations: 0 / 439.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.6833, allocations: 0 / 439.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/0.6884, allocations: 1.451 MB / 441.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.6885, allocations: 8 kB / 441.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009024/0.6894, allocations: 83.92 kB / 441.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006152/0.6901, allocations: 84.59 kB / 441.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.6902, allocations: 11.5 kB / 441.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00546/0.6957, allocations: 2.971 MB / 444.3 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-05/0.6957, allocations: 8.094 kB / 444.3 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/0.6996, allocations: 0.8752 MB / 445.2 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008423/0.7005, allocations: 194.1 kB / 445.4 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.7008, allocations: 17.23 kB / 445.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.702, allocations: 31.55 kB / 445.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.7023, allocations: 37.14 kB / 445.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.495e-05/0.7024, allocations: 18.36 kB / 445.5 MB, free: 8.887 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002014/0.7044, allocations: 0.5314 MB / 446 MB, free: 8.508 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.637e-06/0.7044, allocations: 0 / 446 MB, free: 8.508 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002433/0.7069, allocations: 245.7 kB / 446.3 MB, free: 8.293 MB / 330.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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.7079, allocations: 306 kB / 446.6 MB, free: 8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002772/0.7108, allocations: 0.6553 MB / 447.2 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.7108, allocations: 8.312 kB / 447.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.7121, allocations: 423.3 kB / 447.7 MB, free: 7.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.7134, allocations: 211.2 kB / 447.9 MB, free: 6.934 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.7166, allocations: 1.291 MB / 449.2 MB, free: 5.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009134/0.7175, allocations: 1.036 MB / 450.2 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006856/0.7182, allocations: 111.4 kB / 450.3 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.7184, allocations: 62 kB / 450.4 MB, free: 4.492 MB / 330.7 MB Notification: Performance of SimCode: time 1.737e-06/0.7184, allocations: 0 / 450.4 MB, free: 4.492 MB / 330.7 MB Notification: Performance of Templates: time 0.03391/0.7523, allocations: 12.38 MB / 462.7 MB, free: 8.164 MB / 346.7 MB