Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.869e-05, allocations: 4 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4954, allocations: 77.7 MB / 420.3 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4956, allocations: 71.59 kB / 420.3 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008457/0.5041, allocations: 2.154 MB / 422.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.179e-06/0.5042, allocations: 0 / 422.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.5042, allocations: 8 kB / 422.5 MB, free: 14.6 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005561/0.5048, allocations: 384.8 kB / 422.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5048, allocations: 8.031 kB / 422.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.5049, allocations: 11.86 kB / 422.9 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.5051, allocations: 202.4 kB / 423.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5052, allocations: 7.438 kB / 423.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.5052, allocations: 14.98 kB / 423.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.5054, allocations: 101 kB / 423.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5055, allocations: 0 / 423.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.5055, allocations: 7.312 kB / 423.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.871e-06/0.5055, allocations: 3.953 kB / 423.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.5057, allocations: 41.19 kB / 423.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00094/0.5066, allocations: 0.5446 MB / 423.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.5068, allocations: 60.2 kB / 423.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/0.5069, allocations: 30.91 kB / 423.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.5069, allocations: 0 / 423.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.507, allocations: 34.56 kB / 423.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.053e-06/0.507, allocations: 0 / 423.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002362/0.5072, allocations: 79.61 kB / 424 MB, free: 13.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.5073, allocations: 55.41 kB / 424 MB, free: 12.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.5074, allocations: 120.1 kB / 424.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.5075, allocations: 29.45 kB / 424.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.5075, allocations: 106.9 kB / 424.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.5076, allocations: 31.38 kB / 424.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-06/0.5076, allocations: 0 / 424.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5078, allocations: 325.7 kB / 424.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.5079, allocations: 15.69 kB / 424.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/0.508, allocations: 55.3 kB / 424.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.178e-05/0.508, allocations: 33.98 kB / 424.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5081, allocations: 0 / 424.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002412/0.5083, allocations: 104.1 kB / 424.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5083, allocations: 8 kB / 424.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.843e-06/0.5084, allocations: 4.125 kB / 424.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5084, allocations: 0 / 424.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.5086, allocations: 35.92 kB / 424.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5087, allocations: 3.953 kB / 424.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.5088, allocations: 22.73 kB / 424.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.5088, allocations: 8 kB / 424.9 MB, free: 12.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.187e-05/0.5089, allocations: 107.9 kB / 425 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.509, allocations: 7.906 kB / 425 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.509, allocations: 10.88 kB / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.708e-06/0.5091, allocations: 4 kB / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.774e-06/0.5091, allocations: 3.984 kB / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.717e-06/0.5091, allocations: 7.891 kB / 425.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.5094, allocations: 198.9 kB / 425.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-06/0.5094, allocations: 0 / 425.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.5096, allocations: 27.97 kB / 425.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.535e-06/0.5096, allocations: 4 kB / 425.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5097, allocations: 0 / 425.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5097, allocations: 0 / 425.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.128e-06/0.5097, allocations: 0 / 425.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.51, allocations: 199.8 kB / 425.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.5101, allocations: 85.02 kB / 425.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.5101, allocations: 0 / 425.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.5103, allocations: 16.03 kB / 425.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.5103, allocations: 3.984 kB / 425.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.5104, allocations: 11.56 kB / 425.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.751e-05/0.5105, allocations: 99.67 kB / 425.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.648e-06/0.5105, allocations: 0 / 425.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003515/0.5108, allocations: 23.53 kB / 425.7 MB, free: 11.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001486/0.511, allocations: 107.2 kB / 425.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.5112, allocations: 53.56 kB / 425.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.612e-06/0.5112, allocations: 4.062 kB / 425.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.5113, allocations: 22.62 kB / 425.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.5116, allocations: 19.75 kB / 425.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.5123, allocations: 270.1 kB / 426.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.5127, allocations: 0.7051 MB / 426.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.789e-05/0.5128, allocations: 8.422 kB / 426.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.5128, allocations: 15.44 kB / 426.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of SimCode: time 2.144e-06/0.5129, allocations: 0 / 426.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of Templates: time 0.004224/0.5171, allocations: 0.8442 MB / 427.8 MB, free: 9.234 MB / 346.7 MB