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_LinearSystems2): time 2.451/2.451, allocations: 251.5 MB / 266 MB, free: 0.6719 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09851/0.09851, allocations: 12.6 MB / 336.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.531e-05/4.524e-05, allocations: 4 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3817, allocations: 59.42 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous): time 0.002139/0.3839, allocations: 1.534 MB / 460.7 MB, free: 27.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007564/0.3847, allocations: 408.2 kB / 461.1 MB, free: 26.67 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.3848, allocations: 4 kB / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.3848, allocations: 11.92 kB / 461.1 MB, free: 26.65 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.385, allocations: 27.88 kB / 461.2 MB, free: 26.62 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.3851, allocations: 15.98 kB / 461.2 MB, free: 26.61 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.3852, allocations: 59.86 kB / 461.2 MB, free: 26.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3854, allocations: 18.84 kB / 461.2 MB, free: 26.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.3854, allocations: 35.91 kB / 461.3 MB, free: 26.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.3855, allocations: 35.91 kB / 461.3 MB, free: 26.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.239e-05/0.3855, allocations: 0 / 461.3 MB, free: 26.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3856, allocations: 4 kB / 461.3 MB, free: 26.46 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.3856, allocations: 15.92 kB / 461.3 MB, free: 26.45 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.3856, allocations: 8 kB / 461.3 MB, free: 26.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.3858, allocations: 67.8 kB / 461.4 MB, free: 26.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3858, allocations: 0 / 461.4 MB, free: 26.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3858, allocations: 3.938 kB / 461.4 MB, free: 26.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3858, allocations: 0 / 461.4 MB, free: 26.37 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.000553/0.3864, allocations: 383.4 kB / 461.8 MB, free: 25.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3864, allocations: 8.031 kB / 461.8 MB, free: 25.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.3865, allocations: 23.7 kB / 461.8 MB, free: 25.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3867, allocations: 187 kB / 462 MB, free: 25.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3867, allocations: 8.172 kB / 462 MB, free: 25.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.3867, allocations: 8 kB / 462 MB, free: 25.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.3871, allocations: 132.6 kB / 462.1 MB, free: 25.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3871, allocations: 0 / 462.1 MB, free: 25.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.3871, allocations: 7.953 kB / 462.2 MB, free: 25.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3872, allocations: 4 kB / 462.2 MB, free: 25.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.3875, allocations: 79.94 kB / 462.2 MB, free: 25.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007442/0.3883, allocations: 0.5285 MB / 462.8 MB, free: 24.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3886, allocations: 82.55 kB / 462.8 MB, free: 24.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.3886, allocations: 4 kB / 462.9 MB, free: 24.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.3886, allocations: 30.56 kB / 462.9 MB, free: 24.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.3886, allocations: 4 kB / 462.9 MB, free: 24.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000588/0.3892, allocations: 137.7 kB / 463 MB, free: 24.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.3893, allocations: 55.34 kB / 463.1 MB, free: 24.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.3894, allocations: 122.8 kB / 463.2 MB, free: 24.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3894, allocations: 29.64 kB / 463.2 MB, free: 24.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.3895, allocations: 120 kB / 463.3 MB, free: 24.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.3895, allocations: 23.62 kB / 463.4 MB, free: 24.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.3895, allocations: 0 / 463.4 MB, free: 24.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.3896, allocations: 322.8 kB / 463.7 MB, free: 23.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.3898, allocations: 43.97 kB / 463.7 MB, free: 23.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.39, allocations: 72.27 kB / 463.8 MB, free: 23.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.3902, allocations: 43.98 kB / 463.8 MB, free: 23.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3902, allocations: 0 / 463.8 MB, free: 23.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004564/0.3907, allocations: 153.4 kB / 464 MB, free: 23.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3907, allocations: 9.094 kB / 464 MB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3907, allocations: 3.938 kB / 464 MB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3907, allocations: 4 kB / 464 MB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.391, allocations: 27.98 kB / 464 MB, free: 23.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.391, allocations: 11.94 kB / 464 MB, free: 23.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3912, allocations: 15.84 kB / 464.1 MB, free: 23.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3912, allocations: 4 kB / 464.1 MB, free: 23.48 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 8.622e-05/0.3913, allocations: 125.8 kB / 464.2 MB, free: 23.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.3913, allocations: 4 kB / 464.2 MB, free: 23.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.3914, allocations: 12.36 kB / 464.2 MB, free: 23.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3914, allocations: 4 kB / 464.2 MB, free: 23.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3914, allocations: 0 / 464.2 MB, free: 23.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3914, allocations: 3.953 kB / 464.2 MB, free: 23.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.3916, allocations: 197.5 kB / 464.4 MB, free: 23.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3917, allocations: 0 / 464.4 MB, free: 23.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.3919, allocations: 27.98 kB / 464.4 MB, free: 23.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3919, allocations: 0 / 464.4 MB, free: 23.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3919, allocations: 4 kB / 464.4 MB, free: 23.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.392, allocations: 4 kB / 464.4 MB, free: 23.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.392, allocations: 0 / 464.4 MB, free: 23.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.3926, allocations: 259.3 kB / 464.7 MB, free: 22.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.3926, allocations: 84.95 kB / 464.8 MB, free: 22.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.3927, allocations: 4 kB / 464.8 MB, free: 22.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3928, allocations: 8.031 kB / 464.8 MB, free: 22.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.3929, allocations: 16.08 kB / 464.8 MB, free: 22.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3929, allocations: 0 / 464.8 MB, free: 22.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.393, allocations: 97.38 kB / 464.9 MB, free: 22.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.393, allocations: 0 / 464.9 MB, free: 22.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.3933, allocations: 20 kB / 464.9 MB, free: 22.53 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 9.83e-05/0.3934, allocations: 103.2 kB / 465 MB, free: 22.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3938, allocations: 92.28 kB / 465.1 MB, free: 22.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3938, allocations: 0 / 465.1 MB, free: 22.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.394, allocations: 43.91 kB / 465.1 MB, free: 22.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3944, allocations: 18.27 kB / 465.2 MB, free: 22.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.3952, allocations: 450.9 kB / 465.6 MB, free: 21.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.3954, allocations: 0.7043 MB / 466.3 MB, free: 21.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.333e-05/0.3955, allocations: 8.422 kB / 466.3 MB, free: 21.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.3956, allocations: 11.44 kB / 466.3 MB, free: 21.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/0.3956, allocations: 4 kB / 466.3 MB, free: 21.05 MB / 346.7 MB Notification: Performance of Templates: time 0.004292/0.3999, allocations: 0.8491 MB / 467.2 MB, free: 20.21 MB / 346.7 MB "" Variables in the reference:PI.y,Time,speed.w Variables in the result:PI.T,PI.initType,PI.k,PI.x_start,PI.y,PI.y_start,load.J,load.w,ramp.duration,ramp.height,ramp.offset,ramp.startTime,speed.w,time