Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.291/2.291, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.225e-05/4.217e-05, allocations: 4 kB / 284.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 50.37 MB / 334.8 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4811/0.5902, allocations: 82.22 MB / 417 MB, free: 11.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.5905, allocations: 68.58 kB / 417 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03163/0.6222, allocations: 6.404 MB / 423.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6222, allocations: 0 / 423.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.6223, allocations: 4 kB / 423.5 MB, free: 6.191 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.001688/0.624, allocations: 0.5673 MB / 424 MB, free: 5.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.624, allocations: 8.031 kB / 424 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.6242, allocations: 69.3 kB / 424.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.6243, allocations: 35.62 kB / 424.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.6248, allocations: 281.7 kB / 424.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/0.6251, allocations: 137.3 kB / 424.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.176e-05/0.6252, allocations: 31.5 kB / 424.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.6264, allocations: 491.4 kB / 425.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.6265, allocations: 3.938 kB / 425.1 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.6265, allocations: 15.56 kB / 425.1 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.6266, allocations: 12 kB / 425.1 MB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.6277, allocations: 408.1 kB / 425.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.6301, allocations: 1.012 MB / 426.5 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.6317, allocations: 417.5 kB / 426.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.6323, allocations: 205.4 kB / 427.1 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.88e-05/0.6324, allocations: 11.94 kB / 427.1 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.6324, allocations: 38.5 kB / 427.1 MB, free: 2.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 3.476e-06/0.6325, allocations: 3.938 kB / 427.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.0146/0.6471, allocations: 2.084 MB / 429.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.6472, allocations: 144.1 kB / 429.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.6476, allocations: 178.3 kB / 429.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.6477, allocations: 38.64 kB / 429.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.6478, allocations: 210.6 kB / 429.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.6481, allocations: 194 kB / 430 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.6482, allocations: 17.5 kB / 430 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6484, allocations: 336.4 kB / 430.3 MB, free: 376 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.6497, allocations: 478.2 kB / 430.8 MB, free: 144 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.6512, allocations: 0.6368 MB / 431.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.6524, allocations: 437.4 kB / 431.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.6524, allocations: 4 kB / 431.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003041/0.6554, allocations: 1.073 MB / 432.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.6555, allocations: 12.03 kB / 432.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.6555, allocations: 8 kB / 433 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/0.6556, allocations: 8 kB / 433 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.6582, allocations: 238.8 kB / 433.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.292e-05/0.6583, allocations: 11.98 kB / 433.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.6602, allocations: 118.7 kB / 433.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.6603, allocations: 31.67 kB / 433.4 MB, free: 14.39 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.0003534/0.6607, allocations: 154 kB / 433.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004953/0.6612, allocations: 153.9 kB / 433.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.6614, allocations: 58.22 kB / 433.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.6614, allocations: 8 kB / 433.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.6615, allocations: 7.953 kB / 433.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.6615, allocations: 7.984 kB / 433.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006352/0.6678, allocations: 1.979 MB / 435.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.6679, allocations: 8 kB / 435.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.6695, allocations: 207.3 kB / 435.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.013e-05/0.6696, allocations: 19.94 kB / 435.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/0.6697, allocations: 28.19 kB / 436 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.512e-05/0.6697, allocations: 20.08 kB / 436 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.426e-05/0.6698, allocations: 19.89 kB / 436 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/0.6727, allocations: 1.76 MB / 437.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.6731, allocations: 167.3 kB / 437.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.6732, allocations: 24.81 kB / 438 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.6744, allocations: 101.8 kB / 438.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/0.6747, allocations: 104.4 kB / 438.2 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/0.6748, allocations: 35.11 kB / 438.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.6751, allocations: 142.1 kB / 438.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6751, allocations: 0 / 438.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001053/0.6762, allocations: 123.7 kB / 438.5 MB, free: 9.594 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.004449/0.6806, allocations: 5.364 MB / 443.8 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.6831, allocations: 0.8473 MB / 444.7 MB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.6832, allocations: 0 / 444.7 MB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008594/0.6841, allocations: 225.7 kB / 444.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6851, allocations: 116 kB / 445 MB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.6891, allocations: 1.085 MB / 446.1 MB, free: 1.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.6897, allocations: 0.8249 MB / 446.9 MB, free: 1.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/0.6904, allocations: 115.4 kB / 447 MB, free: 1.016 MB / 362.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6904, allocations: 0 / 447 MB, free: 1.016 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.764/3.455, allocations: 8.149 MB / 455.2 MB, free: 8.848 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.CascadeControlledDrive.SuperSampled_res.mat does not exist to compare? outputFormat=mat