Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_AbsoluteClocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.124/2.124, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.684e-05, allocations: 4 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 50.4 MB / 343.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5192/0.6433, allocations: 81.18 MB / 424.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.6437, allocations: 70.72 kB / 424.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03848/0.6822, allocations: 7.257 MB / 431.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6822, allocations: 0 / 431.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.6823, allocations: 8 kB / 431.7 MB, free: 6.875 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001726/0.684, allocations: 0.6207 MB / 432.3 MB, free: 6.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.6841, allocations: 8.031 kB / 432.3 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.6842, allocations: 65.67 kB / 432.3 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.6843, allocations: 39.62 kB / 432.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.6849, allocations: 301.1 kB / 432.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.6852, allocations: 143.9 kB / 432.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.6854, allocations: 30.44 kB / 432.9 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.6866, allocations: 0.493 MB / 433.3 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.6867, allocations: 11.89 kB / 433.4 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.6867, allocations: 10.19 kB / 433.4 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.6868, allocations: 8 kB / 433.4 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.6879, allocations: 404 kB / 433.8 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.6903, allocations: 1.038 MB / 434.8 MB, free: 4.055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.6919, allocations: 411.6 kB / 435.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/0.6924, allocations: 211.8 kB / 435.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.035e-05/0.6925, allocations: 4 kB / 435.4 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.6926, allocations: 46.23 kB / 435.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 4.188e-06/0.6926, allocations: 0 / 435.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.01465/0.7072, allocations: 2.133 MB / 437.6 MB, free: 1.965 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.7074, allocations: 148.3 kB / 437.7 MB, free: 1.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.7078, allocations: 233.7 kB / 438 MB, free: 1.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.708, allocations: 36.39 kB / 438 MB, free: 1.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.7081, allocations: 145.8 kB / 438.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.7084, allocations: 196.6 kB / 438.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.7085, allocations: 17.62 kB / 438.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.7087, allocations: 347.9 kB / 438.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.71, allocations: 484.2 kB / 439.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.7114, allocations: 0.639 MB / 439.8 MB, free: 248 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.7126, allocations: 436.1 kB / 440.2 MB, free: 0 / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7126, allocations: 64 / 440.2 MB, free: 0 / 346.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003052/0.7157, allocations: 1.087 MB / 441.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.7158, allocations: 8 kB / 441.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.7158, allocations: 12.75 kB / 441.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.7158, allocations: 11.98 kB / 441.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.7184, allocations: 227.2 kB / 441.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.59e-05/0.7185, allocations: 15.94 kB / 441.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.7203, allocations: 132.5 kB / 441.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.7205, allocations: 23.5 kB / 441.7 MB, free: 14.94 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.000341/0.7209, allocations: 147.1 kB / 441.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004858/0.7214, allocations: 152.8 kB / 442 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.7216, allocations: 67.39 kB / 442.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.7216, allocations: 8 kB / 442.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.7216, allocations: 12.11 kB / 442.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7217, allocations: 0 / 442.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006617/0.7283, allocations: 2.013 MB / 444.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/0.7284, allocations: 15.98 kB / 444.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.7301, allocations: 200 kB / 444.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.21e-05/0.7301, allocations: 16 kB / 444.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.7303, allocations: 26.94 kB / 444.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.546e-05/0.7303, allocations: 19.92 kB / 444.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.588e-05/0.7303, allocations: 19.88 kB / 444.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.7334, allocations: 1.759 MB / 446.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/0.7339, allocations: 179.5 kB / 446.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.7341, allocations: 31.98 kB / 446.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.7353, allocations: 99.94 kB / 446.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/0.7357, allocations: 103.7 kB / 446.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.775e-05/0.7358, allocations: 31.95 kB / 446.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003388/0.7361, allocations: 191.1 kB / 446.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7361, allocations: 0 / 446.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00106/0.7372, allocations: 124 kB / 446.9 MB, free: 9.969 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.004822/0.7421, allocations: 5.37 MB / 452.3 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002578/0.7447, allocations: 0.8443 MB / 453.1 MB, free: 3.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.7447, allocations: 0 / 453.1 MB, free: 3.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008508/0.7456, allocations: 224.5 kB / 453.4 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.7467, allocations: 140.8 kB / 453.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.7511, allocations: 1.089 MB / 454.6 MB, free: 1.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/0.7517, allocations: 0.8405 MB / 455.4 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001096/0.7529, allocations: 100.1 kB / 455.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/0.7535, allocations: 123.4 kB / 455.6 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/0.7535, allocations: 0 / 455.6 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04562/0.7992, allocations: 10.69 MB / 466.3 MB, free: 6.105 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/0.7996, allocations: 170.3 kB / 466.5 MB, free: 5.879 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.683, allocations: 0 / 466.5 MB, free: 5.879 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat does not exist to compare? outputFormat=mat