Running command: translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadModel(Modelica_Synchronous): time 2.037/2.037, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.415e-05, allocations: 0 / 284.3 MB, free: 8.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08794/0.088, allocations: 50.37 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4453, allocations: 79.31 MB / 414 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.4455, allocations: 66.83 kB / 414 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008084/0.4537, allocations: 2.122 MB / 416.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.911e-06/0.4537, allocations: 3.938 kB / 416.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.4537, allocations: 0 / 416.2 MB, free: 13.06 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.0005404/0.4543, allocations: 384.9 kB / 416.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4543, allocations: 12.03 kB / 416.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.4544, allocations: 11.91 kB / 416.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.4546, allocations: 187.4 kB / 416.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.4547, allocations: 7.25 kB / 416.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.4547, allocations: 19.42 kB / 416.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.455, allocations: 105.5 kB / 416.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.455, allocations: 0 / 416.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.455, allocations: 3.188 kB / 416.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.823e-06/0.455, allocations: 4 kB / 416.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.4552, allocations: 48.44 kB / 416.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.4561, allocations: 0.5427 MB / 417.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4563, allocations: 56.02 kB / 417.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.788e-05/0.4564, allocations: 27.11 kB / 417.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.4564, allocations: 0 / 417.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4565, allocations: 41.86 kB / 417.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.846e-06/0.4565, allocations: 0 / 417.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000227/0.4567, allocations: 71.61 kB / 417.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.4568, allocations: 55.39 kB / 417.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4569, allocations: 111.8 kB / 417.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.457, allocations: 33.64 kB / 417.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4571, allocations: 184.5 kB / 418 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.4571, allocations: 22.98 kB / 418.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-06/0.4571, allocations: 4 kB / 418.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4573, allocations: 314 kB / 418.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.82e-05/0.4574, allocations: 23.38 kB / 418.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.4575, allocations: 55.41 kB / 418.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.77e-05/0.4576, allocations: 27.06 kB / 418.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.68e-06/0.4576, allocations: 0 / 418.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002392/0.4578, allocations: 117.3 kB / 418.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4579, allocations: 4 kB / 418.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.499e-06/0.4579, allocations: 4 kB / 418.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4579, allocations: 0 / 418.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.4581, allocations: 31.98 kB / 418.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4582, allocations: 3.984 kB / 418.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.4583, allocations: 19.38 kB / 418.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4583, allocations: 4 kB / 418.7 MB, free: 10.52 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.464e-05/0.4584, allocations: 116 kB / 418.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.4585, allocations: 11.86 kB / 418.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.4585, allocations: 19.34 kB / 418.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.4585, allocations: 4 kB / 418.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-06/0.4586, allocations: 4 kB / 418.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.839e-06/0.4586, allocations: 0 / 418.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.4589, allocations: 195.7 kB / 419 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-06/0.4589, allocations: 4 kB / 419 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.4591, allocations: 19.98 kB / 419 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.4591, allocations: 7.953 kB / 419 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4591, allocations: 0 / 419 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.47e-06/0.4592, allocations: 0 / 419 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.661e-06/0.4592, allocations: 0 / 419 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.4595, allocations: 198.4 kB / 419.2 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.4596, allocations: 85.14 kB / 419.3 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.4596, allocations: 11.52 kB / 419.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.4597, allocations: 4 kB / 419.3 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.4598, allocations: 7.984 kB / 419.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.99e-06/0.4598, allocations: 0 / 419.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.825e-05/0.4599, allocations: 101.8 kB / 419.4 MB, free: 9.715 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.4599, allocations: 0 / 419.4 MB, free: 9.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.4603, allocations: 31.16 kB / 419.5 MB, free: 9.688 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.0001439/0.4605, allocations: 99.25 kB / 419.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.4607, allocations: 58.02 kB / 419.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.629e-06/0.4607, allocations: 0 / 419.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.4608, allocations: 23.88 kB / 419.6 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.4611, allocations: 30.95 kB / 419.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.4618, allocations: 294.9 kB / 420 MB, free: 9.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4622, allocations: 0.7004 MB / 420.7 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.4622, allocations: 15.44 kB / 420.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of SimCode: time 1.441e-06/0.4623, allocations: 0 / 420.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of Templates: time 0.00332/0.4656, allocations: 1.227 MB / 421.9 MB, free: 7.23 MB / 346.7 MB