Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.468e-05, allocations: 4 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 50.42 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4291/0.5385, allocations: 80.88 MB / 423.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5388, allocations: 70.16 kB / 423.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03126/0.5701, allocations: 6.512 MB / 430.1 MB, free: 7.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5702, allocations: 4 kB / 430.1 MB, free: 7.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.5702, allocations: 4 kB / 430.1 MB, free: 7.766 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.001666/0.5719, allocations: 0.5692 MB / 430.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5719, allocations: 8.031 kB / 430.7 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.5721, allocations: 69.53 kB / 430.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.5722, allocations: 35.72 kB / 430.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.5727, allocations: 276 kB / 431.1 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/0.573, allocations: 142.6 kB / 431.2 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.719e-05/0.5731, allocations: 29.75 kB / 431.2 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.5744, allocations: 487.5 kB / 431.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.5745, allocations: 3.984 kB / 431.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.5745, allocations: 10.75 kB / 431.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.5746, allocations: 12 kB / 431.7 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.5757, allocations: 402.5 kB / 432.1 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.5781, allocations: 1.021 MB / 433.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.5796, allocations: 408.5 kB / 433.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.5801, allocations: 209.8 kB / 433.8 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.402e-05/0.5802, allocations: 11.98 kB / 433.8 MB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.5802, allocations: 46.06 kB / 433.8 MB, free: 4.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 4.989e-06/0.5803, allocations: 7.922 kB / 433.8 MB, free: 4.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.01451/0.5948, allocations: 2.064 MB / 435.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.5949, allocations: 144.8 kB / 436 MB, free: 2.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.5952, allocations: 181.7 kB / 436.2 MB, free: 2.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.5954, allocations: 39.55 kB / 436.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.5955, allocations: 141.8 kB / 436.4 MB, free: 2.523 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.5958, allocations: 197.2 kB / 436.6 MB, free: 2.355 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.5959, allocations: 14.44 kB / 436.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.596, allocations: 344.8 kB / 436.9 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.5973, allocations: 486.3 kB / 437.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.5987, allocations: 0.6349 MB / 438 MB, free: 1.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.5999, allocations: 432.5 kB / 438.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5999, allocations: 4 kB / 438.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002997/0.6029, allocations: 1.09 MB / 439.5 MB, free: 448 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.603, allocations: 8.094 kB / 439.6 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.603, allocations: 8 kB / 439.6 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/0.6031, allocations: 12 kB / 439.6 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.6057, allocations: 227.5 kB / 439.8 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.891e-05/0.6058, allocations: 12 kB / 439.8 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.6076, allocations: 126.3 kB / 439.9 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.6078, allocations: 26.94 kB / 440 MB, free: 48 kB / 346.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.0003735/0.6082, allocations: 150.2 kB / 440.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/0.6087, allocations: 151.7 kB / 440.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.6089, allocations: 64.58 kB / 440.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6089, allocations: 8 kB / 440.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.6089, allocations: 0 / 440.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.609, allocations: 7.984 kB / 440.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006277/0.6153, allocations: 1.993 MB / 442.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/0.6153, allocations: 13 kB / 442.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.6169, allocations: 203.5 kB / 442.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.762e-05/0.617, allocations: 19.94 kB / 442.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.972e-05/0.6171, allocations: 24.06 kB / 442.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.279e-05/0.6171, allocations: 19.94 kB / 442.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.607e-05/0.6172, allocations: 19.88 kB / 442.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/0.62, allocations: 1.762 MB / 444.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.6204, allocations: 157.9 kB / 444.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6205, allocations: 34.25 kB / 444.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.6217, allocations: 100.2 kB / 444.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/0.622, allocations: 104.9 kB / 444.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.6221, allocations: 27.5 kB / 444.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.6223, allocations: 148.2 kB / 444.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6223, allocations: 4 kB / 444.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001009/0.6234, allocations: 126.4 kB / 445.1 MB, free: 11.23 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.00436/0.6277, allocations: 5.357 MB / 450.4 MB, free: 5.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.6303, allocations: 0.8443 MB / 451.3 MB, free: 4.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.6304, allocations: 4.125 kB / 451.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008184/0.6312, allocations: 221.9 kB / 451.5 MB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000963/0.6322, allocations: 120.7 kB / 451.6 MB, free: 4.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.6361, allocations: 1.056 MB / 452.7 MB, free: 3.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.6367, allocations: 0.821 MB / 453.5 MB, free: 2.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001045/0.6377, allocations: 87.38 kB / 453.6 MB, free: 2.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/0.6383, allocations: 119.4 kB / 453.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6384, allocations: 480 / 453.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04784/0.6862, allocations: 10.3 MB / 464 MB, free: 7.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/0.6866, allocations: 164.1 kB / 464.2 MB, free: 7.688 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.147/3.833, allocations: 3.938 kB / 464.2 MB, free: 7.684 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat does not exist to compare? outputFormat=mat