Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.263/2.263, allocations: 218.4 MB / 231.1 MB, free: 12.49 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.479e-05/4.486e-05, allocations: 4 kB / 284.4 MB, free: 8.113 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 50.36 MB / 334.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.5769, allocations: 82.16 MB / 416.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.5773, allocations: 69.28 kB / 417 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03728/0.6146, allocations: 6.404 MB / 423.4 MB, free: 6.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6146, allocations: 0 / 423.4 MB, free: 6.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.575e-05/0.6147, allocations: 4 kB / 423.4 MB, free: 6.328 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.002088/0.6168, allocations: 0.5659 MB / 424 MB, free: 5.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.6169, allocations: 12.03 kB / 424 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.6171, allocations: 74.03 kB / 424.1 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.6172, allocations: 39.62 kB / 424.1 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.6179, allocations: 264.6 kB / 424.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004373/0.6184, allocations: 146.4 kB / 424.5 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.6185, allocations: 26 kB / 424.5 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.6204, allocations: 499.5 kB / 425 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.6205, allocations: 0 / 425 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/0.6206, allocations: 14.25 kB / 425 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.6206, allocations: 12 kB / 425.1 MB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.6225, allocations: 415.7 kB / 425.5 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.626, allocations: 1.001 MB / 426.5 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/0.6404, allocations: 415.3 kB / 426.9 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008373/0.6413, allocations: 215.2 kB / 427.1 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.74e-05/0.6414, allocations: 8.141 kB / 427.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.6414, allocations: 42.5 kB / 427.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 4.879e-06/0.6415, allocations: 0 / 427.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.03246/0.6739, allocations: 2.086 MB / 429.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/0.6742, allocations: 148.3 kB / 429.4 MB, free: 1.383 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.6747, allocations: 175.9 kB / 429.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.6749, allocations: 36.2 kB / 429.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.6751, allocations: 147.1 kB / 429.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.6755, allocations: 197.6 kB / 429.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.6757, allocations: 10.25 kB / 429.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.676, allocations: 341.3 kB / 430.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.678, allocations: 484 kB / 430.7 MB, free: 344 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.6804, allocations: 0.6355 MB / 431.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.6824, allocations: 432.8 kB / 431.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/0.6825, allocations: 4 kB / 431.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005172/0.6877, allocations: 1.086 MB / 432.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.6878, allocations: 12 kB / 432.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.6879, allocations: 8 kB / 432.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.185e-05/0.6879, allocations: 8 kB / 432.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/0.692, allocations: 235 kB / 433.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-05/0.6921, allocations: 11.94 kB / 433.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.695, allocations: 126.7 kB / 433.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.6953, allocations: 27.56 kB / 433.3 MB, free: 14.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0005265/0.6958, allocations: 146 kB / 433.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007866/0.6966, allocations: 150.1 kB / 433.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.697, allocations: 63.27 kB / 433.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/0.697, allocations: 8 kB / 433.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.6971, allocations: 7.953 kB / 433.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.6971, allocations: 7.984 kB / 433.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.7072, allocations: 1.983 MB / 435.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/0.7073, allocations: 8 kB / 435.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/0.7098, allocations: 203.4 kB / 435.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-05/0.7099, allocations: 16 kB / 435.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.71, allocations: 31.19 kB / 435.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.802e-05/0.7101, allocations: 15.94 kB / 435.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.033e-05/0.7101, allocations: 23.83 kB / 435.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/0.7144, allocations: 1.756 MB / 437.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/0.715, allocations: 167.7 kB / 437.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.7152, allocations: 26.88 kB / 437.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/0.717, allocations: 98.97 kB / 438 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004628/0.7175, allocations: 106 kB / 438.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.7176, allocations: 31.69 kB / 438.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002924/0.7179, allocations: 144.8 kB / 438.2 MB, free: 9.891 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.718, allocations: 0 / 438.2 MB, free: 9.891 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00151/0.7195, allocations: 127.5 kB / 438.4 MB, free: 9.789 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * 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.006461/0.726, allocations: 5.364 MB / 443.7 MB, free: 4.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003521/0.7296, allocations: 0.8443 MB / 444.6 MB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.7296, allocations: 3.938 kB / 444.6 MB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.7308, allocations: 221.7 kB / 444.8 MB, free: 3.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.7331, allocations: 123.9 kB / 444.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.737, allocations: 1.049 MB / 446 MB, free: 1.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.7376, allocations: 0.8249 MB / 446.8 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001472/0.7391, allocations: 87.38 kB / 446.9 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009489/0.7401, allocations: 115.4 kB / 447 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of SimCode: time 1.783e-06/0.7401, allocations: 0 / 447 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07646/0.8166, allocations: 10.31 MB / 457.3 MB, free: 6.527 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005003/0.8171, allocations: 173.7 kB / 457.5 MB, free: 6.305 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/3.737, allocations: 0 / 457.5 MB, free: 6.305 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.CascadeControlledDrive.SuperSampled_res.mat does not exist to compare? outputFormat=mat