Running command: "" <> buildModelFMU(ModelicaTest.Blocks.UnitDeduction,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_UnitDeduction",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.684/2.684, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.818e-05/1.871e-05, allocations: 0 / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4314, allocations: 54.86 MB / 354.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.6122, allocations: 87.73 MB / 442.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.6125, allocations: 71.97 kB / 442.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07162/0.6842, allocations: 13.13 MB / 455.4 MB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6842, allocations: 7.938 kB / 455.4 MB, free: 13.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.231e-05/0.6843, allocations: 16 kB / 455.4 MB, free: 13.17 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002432/0.6868, allocations: 0.8102 MB / 456.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.6868, allocations: 8.031 kB / 456.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.6871, allocations: 79.06 kB / 456.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.6884, allocations: 468.1 kB / 456.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.6884, allocations: 20.33 kB / 456.8 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.6886, allocations: 39.8 kB / 456.8 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009734/0.6896, allocations: 266.6 kB / 457.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6907, allocations: 388.1 kB / 457.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.6908, allocations: 0 / 457.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.6909, allocations: 0 / 457.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.6909, allocations: 12 kB / 457.5 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005951/0.6969, allocations: 1.697 MB / 459.2 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.698, allocations: 346.6 kB / 459.5 MB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.6984, allocations: 121.7 kB / 459.6 MB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.905e-05/0.6985, allocations: 4 kB / 459.6 MB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.6985, allocations: 38.56 kB / 459.7 MB, free: 8.699 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 3.406e-06/0.6986, allocations: 0 / 459.7 MB, free: 8.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=38): time 0.001093/0.6997, allocations: 314 kB / 460 MB, free: 8.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.6998, allocations: 114.8 kB / 460.1 MB, free: 8.246 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/0.7005, allocations: 373.3 kB / 460.4 MB, free: 7.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.7006, allocations: 25.7 kB / 460.5 MB, free: 7.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.7009, allocations: 308.6 kB / 460.8 MB, free: 7.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.7011, allocations: 141.9 kB / 460.9 MB, free: 7.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.7012, allocations: 4 kB / 460.9 MB, free: 7.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.7014, allocations: 370.7 kB / 461.3 MB, free: 7.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.7018, allocations: 117.1 kB / 461.4 MB, free: 6.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.7024, allocations: 247 kB / 461.6 MB, free: 6.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.7029, allocations: 140 kB / 461.8 MB, free: 6.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.7029, allocations: 4 kB / 461.8 MB, free: 6.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00133/0.7042, allocations: 452.1 kB / 462.2 MB, free: 6.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006764/0.7049, allocations: 1.395 MB / 463.6 MB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.705, allocations: 8 kB / 463.6 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/0.705, allocations: 8 kB / 463.6 MB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.7062, allocations: 123.8 kB / 463.7 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.7062, allocations: 4 kB / 463.7 MB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.707, allocations: 55.66 kB / 463.8 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.7071, allocations: 23.94 kB / 463.8 MB, free: 4.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.7071, allocations: 1.562 kB / 463.8 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/0.7082, allocations: 343.6 kB / 464.2 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.7082, allocations: 8.094 kB / 464.2 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.7082, allocations: 11.98 kB / 464.2 MB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.7093, allocations: 119.8 kB / 464.3 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.7093, allocations: 11.95 kB / 464.3 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/0.71, allocations: 47.45 kB / 464.4 MB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.7101, allocations: 24 kB / 464.4 MB, free: 3.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0001856/0.7103, allocations: 113.6 kB / 464.5 MB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009288/0.7112, allocations: 313.4 kB / 464.8 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.7114, allocations: 59.3 kB / 464.9 MB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.7116, allocations: 53.5 kB / 464.9 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.7116, allocations: 11.98 kB / 464.9 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7117, allocations: 0 / 464.9 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.7117, allocations: 0 / 464.9 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.7128, allocations: 481.6 kB / 465.4 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7129, allocations: 4 kB / 465.4 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.714, allocations: 87.89 kB / 465.5 MB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.714, allocations: 4 kB / 465.5 MB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.7141, allocations: 8 kB / 465.5 MB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/0.7141, allocations: 7.938 kB / 465.5 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7141, allocations: 0 / 465.5 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.7156, allocations: 0.6498 MB / 466.1 MB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.7159, allocations: 164.5 kB / 466.3 MB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.716, allocations: 3.953 kB / 466.3 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/0.7168, allocations: 27.98 kB / 466.3 MB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.7169, allocations: 31.95 kB / 466.4 MB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.717, allocations: 11.98 kB / 466.4 MB, free: 1.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005344/0.7176, allocations: 283 kB / 466.7 MB, free: 1.375 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7176, allocations: 0 / 466.7 MB, free: 1.375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001204/0.7188, allocations: 195.2 kB / 466.8 MB, free: 1.184 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x,Wsec.y,Vsec.y,Asec.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001844/0.7206, allocations: 1.273 MB / 468.1 MB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.7223, allocations: 0.5308 MB / 468.7 MB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7223, allocations: 256 / 468.7 MB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.7227, allocations: 147.9 kB / 468.8 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.7242, allocations: 130.8 kB / 468.9 MB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.7275, allocations: 1.098 MB / 470 MB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.7282, allocations: 0.8995 MB / 470.9 MB, free: 13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008438/0.7291, allocations: 94.2 kB / 471 MB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.7296, allocations: 207.4 kB / 471.2 MB, free: 12.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7296, allocations: 7.875 kB / 471.2 MB, free: 12.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06662/0.7962, allocations: 10.52 MB / 481.7 MB, free: 2.238 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00036/0.7967, allocations: 133.9 kB / 481.9 MB, free: 2.039 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.312/4.109, allocations: 0 / 481.9 MB, free: 2.039 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.UnitDeduction_res.mat does not exist to compare? outputFormat=mat