Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.393e-05, allocations: 4 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 50.41 MB / 343.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5582, allocations: 80.89 MB / 424 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5586, allocations: 74.83 kB / 424.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0369/0.5955, allocations: 6.509 MB / 430.6 MB, free: 7.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5956, allocations: 0 / 430.6 MB, free: 7.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.5956, allocations: 8 kB / 430.6 MB, free: 7.758 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.001608/0.5972, allocations: 0.5652 MB / 431.2 MB, free: 7.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5973, allocations: 12.03 kB / 431.2 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.5974, allocations: 67.42 kB / 431.3 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.5975, allocations: 31.72 kB / 431.3 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.598, allocations: 274.3 kB / 431.6 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.5983, allocations: 140.8 kB / 431.7 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/0.5984, allocations: 26.81 kB / 431.7 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.5997, allocations: 496 kB / 432.2 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.5997, allocations: 0 / 432.2 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.5998, allocations: 18.25 kB / 432.2 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.5998, allocations: 4 kB / 432.2 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.6009, allocations: 406.4 kB / 432.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.6034, allocations: 1.024 MB / 433.7 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.6049, allocations: 406 kB / 434.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/0.6054, allocations: 217.8 kB / 434.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.451e-05/0.6055, allocations: 4 kB / 434.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.6056, allocations: 42.36 kB / 434.3 MB, free: 4.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 2.996e-06/0.6056, allocations: 3.938 kB / 434.3 MB, free: 4.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.01466/0.6203, allocations: 2.07 MB / 436.4 MB, free: 3.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.6204, allocations: 147.8 kB / 436.5 MB, free: 2.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.6208, allocations: 182.8 kB / 436.7 MB, free: 2.684 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.6209, allocations: 40.67 kB / 436.8 MB, free: 2.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.621, allocations: 147.1 kB / 436.9 MB, free: 2.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.6213, allocations: 196.3 kB / 437.1 MB, free: 2.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.6215, allocations: 11.19 kB / 437.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6217, allocations: 351.9 kB / 437.4 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.6229, allocations: 477.9 kB / 437.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.6244, allocations: 0.6373 MB / 438.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.6256, allocations: 435.2 kB / 439 MB, free: 1.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6256, allocations: 4 kB / 439 MB, free: 1.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003058/0.6287, allocations: 1.084 MB / 440.1 MB, free: 436 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.6287, allocations: 8 kB / 440.1 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.6288, allocations: 4 kB / 440.1 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/0.6288, allocations: 12 kB / 440.1 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/0.6314, allocations: 234 kB / 440.3 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.768e-05/0.6315, allocations: 11.98 kB / 440.3 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.6333, allocations: 125.4 kB / 440.4 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.6335, allocations: 34.73 kB / 440.5 MB, free: 28 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.0003816/0.6339, allocations: 146.8 kB / 440.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005105/0.6344, allocations: 146.6 kB / 440.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.6346, allocations: 63.83 kB / 440.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.6346, allocations: 16 kB / 440.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.6347, allocations: 0 / 440.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.6347, allocations: 3.984 kB / 440.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006384/0.6411, allocations: 1.981 MB / 442.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-05/0.6411, allocations: 16.2 kB / 442.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.6427, allocations: 202.8 kB / 443 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.968e-05/0.6428, allocations: 23.94 kB / 443.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-05/0.6429, allocations: 23 kB / 443.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.506e-05/0.6429, allocations: 19.92 kB / 443.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.747e-05/0.6429, allocations: 19.88 kB / 443.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.6458, allocations: 1.759 MB / 444.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.6462, allocations: 162.6 kB / 445 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.6463, allocations: 31.69 kB / 445.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.6475, allocations: 94.86 kB / 445.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004222/0.648, allocations: 109.5 kB / 445.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6481, allocations: 30.94 kB / 445.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00027/0.6484, allocations: 150.2 kB / 445.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6484, allocations: 0 / 445.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001538/0.6499, allocations: 127.4 kB / 445.6 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.005927/0.6559, allocations: 5.355 MB / 450.9 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00328/0.6592, allocations: 0.8437 MB / 451.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/0.6592, allocations: 4 kB / 451.8 MB, free: 4.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.6603, allocations: 221.8 kB / 452 MB, free: 4.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.6616, allocations: 121.3 kB / 452.1 MB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.6664, allocations: 1.059 MB / 453.2 MB, free: 3.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/0.6671, allocations: 0.821 MB / 454 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001332/0.6685, allocations: 91.36 kB / 454.1 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008175/0.6693, allocations: 115.4 kB / 454.2 MB, free: 2.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6693, allocations: 480 / 454.2 MB, free: 2.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06877/0.7381, allocations: 10.31 MB / 464.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/0.7384, allocations: 164.2 kB / 464.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/3.633, allocations: 3.938 kB / 464.7 MB, free: 7.691 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat does not exist to compare? outputFormat=mat