Running command: translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadModel(Modelica_Synchronous): time 1.995/1.995, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.408e-05/4.425e-05, allocations: 8 kB / 284.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.0943, allocations: 50.36 MB / 334.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4518, allocations: 79.25 MB / 413.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.452, allocations: 75.45 kB / 414 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008024/0.46, allocations: 2.123 MB / 416.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4601, allocations: 0 / 416.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.4601, allocations: 4 kB / 416.1 MB, free: 13.21 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.0005169/0.4606, allocations: 387 kB / 416.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4607, allocations: 8.031 kB / 416.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.4607, allocations: 15.84 kB / 416.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.461, allocations: 186.2 kB / 416.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.461, allocations: 7.812 kB / 416.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.461, allocations: 14.86 kB / 416.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.4613, allocations: 104.4 kB / 416.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4613, allocations: 0 / 416.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.4613, allocations: 7.938 kB / 416.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-06/0.4614, allocations: 0 / 416.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.4615, allocations: 42.75 kB / 416.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009237/0.4624, allocations: 0.5573 MB / 417.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.4629, allocations: 55.39 kB / 417.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.463, allocations: 23.05 kB / 417.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.4631, allocations: 0 / 417.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4631, allocations: 37.56 kB / 417.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 4.355e-06/0.4631, allocations: 0 / 417.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000224/0.4634, allocations: 83.67 kB / 417.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.4634, allocations: 55.41 kB / 417.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.4635, allocations: 115.2 kB / 417.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.4636, allocations: 29.08 kB / 417.8 MB, free: 11.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.4637, allocations: 113.7 kB / 418 MB, free: 11.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.4637, allocations: 27.33 kB / 418 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-06/0.4637, allocations: 0 / 418 MB, free: 11.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4639, allocations: 322 kB / 418.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.464, allocations: 22.75 kB / 418.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/0.4641, allocations: 50.86 kB / 418.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.912e-05/0.4642, allocations: 31.3 kB / 418.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.4642, allocations: 0 / 418.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002438/0.4645, allocations: 107.9 kB / 418.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4645, allocations: 8.094 kB / 418.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.495e-06/0.4645, allocations: 3.938 kB / 418.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4646, allocations: 0 / 418.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.4648, allocations: 43.91 kB / 418.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4648, allocations: 4 kB / 418.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4649, allocations: 19.95 kB / 418.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.465, allocations: 11.31 kB / 418.6 MB, free: 10.71 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.173e-05/0.4651, allocations: 112.3 kB / 418.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.4651, allocations: 11.86 kB / 418.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.4652, allocations: 12.56 kB / 418.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-06/0.4652, allocations: 0 / 418.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.642e-06/0.4652, allocations: 0 / 418.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4652, allocations: 0 / 418.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.4655, allocations: 194.2 kB / 418.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-06/0.4655, allocations: 0 / 418.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.4657, allocations: 27.98 kB / 418.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.826e-06/0.4657, allocations: 3.953 kB / 418.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4658, allocations: 0 / 418.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.867e-06/0.4658, allocations: 0 / 418.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4658, allocations: 0 / 418.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.4661, allocations: 202.5 kB / 419.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.4662, allocations: 85.02 kB / 419.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.4662, allocations: 7.953 kB / 419.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4664, allocations: 19.53 kB / 419.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.4664, allocations: 0 / 419.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.4664, allocations: 4 kB / 419.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.036e-05/0.4665, allocations: 97.95 kB / 419.4 MB, free: 9.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-07/0.4666, allocations: 0 / 419.4 MB, free: 9.922 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.4669, allocations: 19.94 kB / 419.4 MB, free: 9.902 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.0001253/0.467, allocations: 102.6 kB / 419.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.4672, allocations: 57.36 kB / 419.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.363e-06/0.4672, allocations: 0 / 419.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.698e-05/0.4673, allocations: 19.31 kB / 419.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.4676, allocations: 22.42 kB / 419.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006494/0.4683, allocations: 272.7 kB / 419.8 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4687, allocations: 0.7045 MB / 420.5 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.852e-05/0.4688, allocations: 12.42 kB / 420.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.4688, allocations: 15.38 kB / 420.6 MB, free: 8.684 MB / 346.7 MB Notification: Performance of SimCode: time 1.316e-06/0.4688, allocations: 0 / 420.6 MB, free: 8.684 MB / 346.7 MB Notification: Performance of Templates: time 0.003899/0.4727, allocations: 0.8633 MB / 421.4 MB, free: 7.832 MB / 346.7 MB