Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.CascadeControlledDrive.Continuous,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_CascadeControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.182/2.182, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.773e-05, allocations: 4 kB / 284.4 MB, free: 8.113 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1173, allocations: 50.36 MB / 334.8 MB, free: 5.656 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5677, allocations: 81.12 MB / 415.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.568, allocations: 78.31 kB / 416 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02714/0.5952, allocations: 5.522 MB / 421.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5952, allocations: 0 / 421.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.5953, allocations: 4 kB / 421.5 MB, free: 8.07 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.001533/0.5968, allocations: 0.5422 MB / 422 MB, free: 7.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.5969, allocations: 8.031 kB / 422 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.597, allocations: 67.36 kB / 422.1 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.5971, allocations: 27.72 kB / 422.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.5976, allocations: 255 kB / 422.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/0.5979, allocations: 143 kB / 422.5 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.598, allocations: 29.16 kB / 422.6 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.5988, allocations: 310.4 kB / 422.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5989, allocations: 0 / 422.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.5989, allocations: 10.86 kB / 422.9 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.5989, allocations: 11.94 kB / 422.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.6, allocations: 382.6 kB / 423.3 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.6028, allocations: 1.029 MB / 424.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009604/0.6039, allocations: 260.9 kB / 424.5 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.6043, allocations: 135 kB / 424.7 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.237e-05/0.6043, allocations: 0 / 424.7 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.6044, allocations: 37.44 kB / 424.7 MB, free: 5.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.6044, allocations: 0 / 424.7 MB, free: 5.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=53): time 0.0139/0.6183, allocations: 3.094 MB / 427.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.6184, allocations: 63.83 kB / 427.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.6187, allocations: 178.8 kB / 428 MB, free: 2.566 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.842e-05/0.6188, allocations: 33.58 kB / 428.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.6189, allocations: 154.3 kB / 428.2 MB, free: 2.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.6191, allocations: 170.7 kB / 428.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.6192, allocations: 14.69 kB / 428.4 MB, free: 2.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6194, allocations: 345.4 kB / 428.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008512/0.6203, allocations: 324.5 kB / 429.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009118/0.6212, allocations: 375.2 kB / 429.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007272/0.6219, allocations: 271.5 kB / 429.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.622, allocations: 4 kB / 429.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001956/0.6239, allocations: 0.7114 MB / 430.4 MB, free: 0.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.624, allocations: 8 kB / 430.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.624, allocations: 0 / 430.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.624, allocations: 4 kB / 430.4 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.626, allocations: 187.3 kB / 430.6 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.6261, allocations: 4 kB / 430.6 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.6275, allocations: 106.8 kB / 430.7 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.49e-05/0.6276, allocations: 23 kB / 430.7 MB, free: 0.6094 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.0002664/0.6279, allocations: 135.1 kB / 430.9 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.628, allocations: 27.62 kB / 430.9 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.6282, allocations: 57.58 kB / 430.9 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.6282, allocations: 4 kB / 431 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.6282, allocations: 0 / 431 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6283, allocations: 0 / 431 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005351/0.6336, allocations: 1.708 MB / 432.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.6337, allocations: 11.98 kB / 432.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.6351, allocations: 170.4 kB / 432.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.581e-05/0.6351, allocations: 15.95 kB / 432.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/0.6352, allocations: 18.19 kB / 432.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.399e-05/0.6352, allocations: 19.92 kB / 432.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.6353, allocations: 8 kB / 432.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.6375, allocations: 1.339 MB / 434.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.6379, allocations: 148 kB / 434.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.638, allocations: 26.92 kB / 434.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6391, allocations: 94.73 kB / 434.5 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.6394, allocations: 89.83 kB / 434.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.6395, allocations: 23.25 kB / 434.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.6397, allocations: 153.6 kB / 434.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6397, allocations: 0 / 434.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007668/0.6405, allocations: 103.2 kB / 434.9 MB, free: 12.7 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.003508/0.644, allocations: 4.295 MB / 439.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.6458, allocations: 0.5976 MB / 439.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.6458, allocations: 0 / 439.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.6466, allocations: 218.2 kB / 440 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.6473, allocations: 51.67 kB / 440 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.651, allocations: 0.918 MB / 440.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.6515, allocations: 0.7924 MB / 441.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008678/0.6524, allocations: 78.94 kB / 441.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.6529, allocations: 91.72 kB / 441.9 MB, free: 5.984 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6529, allocations: 0 / 441.9 MB, free: 5.984 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.6872, allocations: 7.654 MB / 449.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003387/0.6877, allocations: 179.6 kB / 449.7 MB, free: 14.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/3.637, allocations: 0 / 449.7 MB, free: 14.16 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.CascadeControlledDrive.Continuous_res.mat does not exist to compare? outputFormat=mat