Running command: translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadModel(Modelica_Synchronous): time 2.072/2.072, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.89e-05/4.901e-05, allocations: 7.984 kB / 284.3 MB, free: 8.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09308, allocations: 50.36 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3605/0.4537, allocations: 80.38 MB / 415.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4539, allocations: 69.89 kB / 415.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009989/0.4639, allocations: 2.542 MB / 417.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.21e-06/0.464, allocations: 0 / 417.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.464, allocations: 4 kB / 417.7 MB, free: 11.68 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005986/0.4646, allocations: 406.2 kB / 418.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4647, allocations: 12.03 kB / 418.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.4647, allocations: 15.81 kB / 418.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.465, allocations: 206.8 kB / 418.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.4651, allocations: 15.7 kB / 418.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.4651, allocations: 11.75 kB / 418.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.4656, allocations: 209.5 kB / 418.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4656, allocations: 0 / 418.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.4657, allocations: 7.938 kB / 418.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.4657, allocations: 4 kB / 418.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.4658, allocations: 59.36 kB / 418.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008608/0.4667, allocations: 0.6019 MB / 419.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.4671, allocations: 130.6 kB / 419.3 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.4672, allocations: 57.95 kB / 419.4 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.4673, allocations: 8.188 kB / 419.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.4673, allocations: 38.45 kB / 419.4 MB, free: 9.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.699e-06/0.4673, allocations: 0 / 419.4 MB, free: 9.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003399/0.4677, allocations: 108.8 kB / 419.5 MB, free: 9.766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/0.4678, allocations: 114.7 kB / 419.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.4679, allocations: 123 kB / 419.8 MB, free: 9.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.468, allocations: 41.61 kB / 419.8 MB, free: 9.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.4681, allocations: 185.7 kB / 420 MB, free: 9.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.4681, allocations: 15.5 kB / 420 MB, free: 9.281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-06/0.4682, allocations: 3.906 kB / 420 MB, free: 9.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4683, allocations: 322.6 kB / 420.3 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/0.4684, allocations: 27.75 kB / 420.3 MB, free: 8.938 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.4686, allocations: 118.1 kB / 420.5 MB, free: 8.785 MB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.4689, allocations: 140.7 kB / 420.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-06/0.4689, allocations: 0 / 420.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003465/0.4692, allocations: 156 kB / 420.8 MB, free: 8.504 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.4693, allocations: 12.42 kB / 420.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4693, allocations: 4 kB / 420.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4693, allocations: 8 kB / 420.8 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.4696, allocations: 47.91 kB / 420.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.4696, allocations: 7.938 kB / 420.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.4698, allocations: 23.78 kB / 420.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.4698, allocations: 8 kB / 420.9 MB, free: 8.398 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: PI.y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001229/0.47, allocations: 128.3 kB / 421 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.4702, allocations: 89.2 kB / 421.1 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.4702, allocations: 24.08 kB / 421.1 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.345e-06/0.4703, allocations: 0 / 421.1 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4703, allocations: 4 kB / 421.1 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.189e-06/0.4703, allocations: 3.984 kB / 421.1 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.4707, allocations: 200.9 kB / 421.3 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-06/0.4707, allocations: 0 / 421.3 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.471, allocations: 51.78 kB / 421.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.202e-06/0.471, allocations: 4 kB / 421.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.4711, allocations: 7.938 kB / 421.4 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.562e-06/0.4711, allocations: 3.953 kB / 421.4 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.442e-06/0.4711, allocations: 0 / 421.4 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.4716, allocations: 371.7 kB / 421.7 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.646e-05/0.4717, allocations: 89 kB / 421.8 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.4717, allocations: 7.312 kB / 421.8 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.4719, allocations: 11.98 kB / 421.8 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.472, allocations: 3.25 kB / 421.8 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.472, allocations: 11.98 kB / 421.8 MB, free: 7.395 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.4721, allocations: 101.5 kB / 421.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.4721, allocations: 0 / 421.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004635/0.4726, allocations: 38.59 kB / 422 MB, free: 7.273 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001392/0.4728, allocations: 107 kB / 422.1 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.473, allocations: 87.5 kB / 422.2 MB, free: 7.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.813e-06/0.473, allocations: 0 / 422.2 MB, free: 7.094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.4731, allocations: 10.81 kB / 422.2 MB, free: 7.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.4736, allocations: 68.08 kB / 422.3 MB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.4746, allocations: 344.4 kB / 422.6 MB, free: 6.688 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.475, allocations: 0.7167 MB / 423.3 MB, free: 5.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.4751, allocations: 19.42 kB / 423.3 MB, free: 5.926 MB / 346.7 MB Notification: Performance of SimCode: time 1.611e-06/0.4751, allocations: 0 / 423.3 MB, free: 5.926 MB / 346.7 MB Notification: Performance of Templates: time 0.004/0.4791, allocations: 1.567 MB / 424.9 MB, free: 4.375 MB / 346.7 MB