Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.354e-05/2.364e-05, allocations: 0 / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09267, allocations: 50.42 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3907/0.4834, allocations: 98.8 MB / 441.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4837, allocations: 77.64 kB / 442 MB, free: 11.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1097/0.5934, allocations: 28.21 MB / 470.2 MB, free: 3.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5934, allocations: 0 / 470.2 MB, free: 3.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.449e-05/0.5935, allocations: 24 kB / 470.2 MB, free: 3.531 MB / 378.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.00221/0.5958, allocations: 1.098 MB / 471.3 MB, free: 2.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5958, allocations: 12.03 kB / 471.3 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008486/0.5967, allocations: 186.3 kB / 471.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.5986, allocations: 0.7964 MB / 472.3 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.334e-05/0.5987, allocations: 77.94 kB / 472.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.5989, allocations: 99.91 kB / 472.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.6011, allocations: 0.8763 MB / 473.3 MB, free: 280 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.6011, allocations: 3.938 kB / 473.3 MB, free: 276 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.6012, allocations: 40 kB / 473.4 MB, free: 236 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.6013, allocations: 27.95 kB / 473.4 MB, free: 208 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.6029, allocations: 0.5741 MB / 474 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007189/0.6101, allocations: 3.915 MB / 477.9 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/0.611, allocations: 443.8 kB / 478.3 MB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.6117, allocations: 248.4 kB / 478.6 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.6117, allocations: 4 kB / 478.6 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.6118, allocations: 42.52 kB / 478.6 MB, free: 10.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.674e-06/0.6118, allocations: 0 / 478.6 MB, free: 10.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.002938/0.6147, allocations: 1.197 MB / 479.8 MB, free: 9.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.6148, allocations: 81.55 kB / 479.9 MB, free: 9.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.6162, allocations: 0.684 MB / 480.6 MB, free: 8.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.6162, allocations: 37.69 kB / 480.6 MB, free: 8.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/0.6168, allocations: 0.5526 MB / 481.2 MB, free: 8.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.617, allocations: 173.6 kB / 481.3 MB, free: 7.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.617, allocations: 16 kB / 481.4 MB, free: 7.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.6172, allocations: 337.9 kB / 481.7 MB, free: 7.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.6176, allocations: 145.6 kB / 481.8 MB, free: 7.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/0.6183, allocations: 440.4 kB / 482.3 MB, free: 6.852 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.6189, allocations: 233.5 kB / 482.5 MB, free: 6.629 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.502e-06/0.6189, allocations: 4 kB / 482.5 MB, free: 6.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001748/0.6206, allocations: 0.7389 MB / 483.2 MB, free: 5.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.6207, allocations: 8 kB / 483.2 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6207, allocations: 8 kB / 483.2 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.6211, allocations: 97.95 kB / 483.3 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.6218, allocations: 155.8 kB / 483.5 MB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.6255, allocations: 2.99 MB / 486.5 MB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.6263, allocations: 43.95 kB / 486.5 MB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.6263, allocations: 35.95 kB / 486.6 MB, free: 2.27 MB / 394.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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.6266, allocations: 148.7 kB / 486.7 MB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.6268, allocations: 82.97 kB / 486.8 MB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.628, allocations: 498.5 kB / 487.3 MB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.703e-06/0.6281, allocations: 4 kB / 487.3 MB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.21e-06/0.6281, allocations: 4 kB / 487.3 MB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6281, allocations: 7.922 kB / 487.3 MB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.6311, allocations: 1.427 MB / 488.7 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.6311, allocations: 4 kB / 488.7 MB, free: 0 / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.6316, allocations: 71.97 kB / 488.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/0.632, allocations: 93.61 kB / 488.9 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.632, allocations: 16 kB / 488.9 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/0.6355, allocations: 2.963 MB / 491.9 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.189e-06/0.6355, allocations: 0 / 491.9 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.6372, allocations: 0.8517 MB / 492.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.6377, allocations: 192.1 kB / 492.9 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.6379, allocations: 15.98 kB / 492.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/0.6385, allocations: 35.98 kB / 492.9 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.6386, allocations: 39.84 kB / 493 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.6387, allocations: 16 kB / 493 MB, free: 11.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001096/0.6398, allocations: 0.5187 MB / 493.5 MB, free: 10.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.6398, allocations: 0 / 493.5 MB, free: 10.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001262/0.6411, allocations: 240 kB / 493.8 MB, free: 10.58 MB / 410.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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005485/0.6416, allocations: 317.3 kB / 494.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.643, allocations: 0.6539 MB / 494.7 MB, free: 9.586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.029e-06/0.643, allocations: 4 kB / 494.7 MB, free: 9.582 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008518/0.6439, allocations: 423.2 kB / 495.1 MB, free: 9.148 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.6452, allocations: 196.3 kB / 495.3 MB, free: 8.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.6483, allocations: 1.263 MB / 496.6 MB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/0.6493, allocations: 1.028 MB / 497.6 MB, free: 6.598 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000624/0.6499, allocations: 107.3 kB / 497.7 MB, free: 6.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.6501, allocations: 59.42 kB / 497.8 MB, free: 6.43 MB / 410.7 MB Notification: Performance of SimCode: time 3.935e-06/0.6501, allocations: 0 / 497.8 MB, free: 6.43 MB / 410.7 MB Notification: Performance of Templates: time 0.0349/0.685, allocations: 12.25 MB / 0.4981 GB, free: 10.31 MB / 426.7 MB