Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_CascadeControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.176/2.176, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.659e-05/4.672e-05, allocations: 4 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 50.41 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.5638, allocations: 79.58 MB / 422.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/0.5643, allocations: 70.33 kB / 422.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03474/0.599, allocations: 5.589 MB / 427.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.5991, allocations: 0 / 427.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.5991, allocations: 4 kB / 427.9 MB, free: 9.469 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001511/0.6006, allocations: 0.5388 MB / 428.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.6007, allocations: 12.03 kB / 428.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.576e-05/0.6008, allocations: 61.55 kB / 428.5 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.614e-05/0.6009, allocations: 31.72 kB / 428.5 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.6013, allocations: 244.3 kB / 428.8 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.6017, allocations: 143.8 kB / 428.9 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.351e-05/0.6018, allocations: 23.62 kB / 428.9 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.6025, allocations: 305.1 kB / 429.2 MB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.6026, allocations: 0 / 429.2 MB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.6026, allocations: 14.83 kB / 429.2 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.6026, allocations: 8 kB / 429.3 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.6037, allocations: 387.5 kB / 429.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.6064, allocations: 1.03 MB / 430.7 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.6073, allocations: 259.5 kB / 430.9 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.6077, allocations: 134.2 kB / 431 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.708e-05/0.6078, allocations: 8 kB / 431.1 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.6078, allocations: 34.56 kB / 431.1 MB, free: 6.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.785e-06/0.6078, allocations: 0 / 431.1 MB, free: 6.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=53): time 0.0135/0.6213, allocations: 3.09 MB / 434.2 MB, free: 4.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.6214, allocations: 63.83 kB / 434.2 MB, free: 4.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.6217, allocations: 186.8 kB / 434.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.703e-05/0.6218, allocations: 36.02 kB / 434.5 MB, free: 3.934 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.622, allocations: 142.4 kB / 434.6 MB, free: 3.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.6222, allocations: 177.5 kB / 434.8 MB, free: 3.648 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.6223, allocations: 10.75 kB / 434.8 MB, free: 3.648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.6225, allocations: 341.9 kB / 435.1 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/0.6233, allocations: 323.7 kB / 435.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000939/0.6243, allocations: 383.3 kB / 435.8 MB, free: 2.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.625, allocations: 260.8 kB / 436.1 MB, free: 2.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.625, allocations: 0 / 436.1 MB, free: 2.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001945/0.627, allocations: 0.7223 MB / 436.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.627, allocations: 11.94 kB / 436.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.6271, allocations: 3.953 kB / 436.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.6271, allocations: 4 kB / 436.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.6291, allocations: 182.5 kB / 437 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.6291, allocations: 7.938 kB / 437 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.6305, allocations: 109.8 kB / 437.1 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-05/0.6306, allocations: 19.19 kB / 437.1 MB, free: 2.016 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: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002448/0.6309, allocations: 131.8 kB / 437.2 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.631, allocations: 23.72 kB / 437.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.6312, allocations: 52.89 kB / 437.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.6312, allocations: 11.95 kB / 437.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.6312, allocations: 4 kB / 437.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.6312, allocations: 0 / 437.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00526/0.6365, allocations: 1.7 MB / 439 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.6366, allocations: 8.938 kB / 439 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.6379, allocations: 166.7 kB / 439.2 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-05/0.638, allocations: 12 kB / 439.2 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/0.6381, allocations: 18.31 kB / 439.2 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.057e-05/0.6381, allocations: 15.92 kB / 439.2 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/0.6381, allocations: 19.94 kB / 439.3 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.6405, allocations: 1.327 MB / 440.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.6408, allocations: 149.8 kB / 440.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/0.6409, allocations: 23.17 kB / 440.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.642, allocations: 87.61 kB / 440.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/0.6423, allocations: 104.5 kB / 440.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/0.6424, allocations: 23.38 kB / 441 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.6426, allocations: 150.3 kB / 441.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6426, allocations: 4 kB / 441.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007342/0.6434, allocations: 105.4 kB / 441.2 MB, free: 14.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 3 (load.w,speed.flange.phi,PI.x) * 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 (53): * Single equations (assignments): 53 * 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.003779/0.6472, allocations: 4.302 MB / 445.5 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.649, allocations: 0.6015 MB / 446.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.649, allocations: 0 / 446.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.6498, allocations: 217.4 kB / 446.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.6505, allocations: 48.72 kB / 446.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.6539, allocations: 0.9255 MB / 447.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.6544, allocations: 0.7964 MB / 448.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008534/0.6553, allocations: 74.94 kB / 448.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.6557, allocations: 89.8 kB / 448.3 MB, free: 7.395 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6557, allocations: 0 / 448.3 MB, free: 7.395 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/0.6944, allocations: 7.639 MB / 455.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003397/0.6948, allocations: 172.4 kB / 456.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.442, allocations: 0 / 456.1 MB, free: 15.61 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous_res.mat does not exist to compare? outputFormat=mat