Running command: "" <> buildModelFMU(ModelicaTest.Blocks.UnitDeduction,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_UnitDeduction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.959/1.959, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.907e-05, allocations: 4 kB / 273.2 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5193, allocations: 82.34 MB / 404.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.5196, allocations: 63.97 kB / 404.3 MB, free: 7.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06593/0.5855, allocations: 14.15 MB / 418.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5856, allocations: 0 / 418.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.178e-05/0.5857, allocations: 12 kB / 418.4 MB, free: 9.043 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002279/0.588, allocations: 0.8255 MB / 419.2 MB, free: 8.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.588, allocations: 12.03 kB / 419.3 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.5882, allocations: 86.52 kB / 419.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.5884, allocations: 79.06 kB / 419.4 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.5897, allocations: 487.7 kB / 419.9 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/0.5898, allocations: 40.98 kB / 419.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.5899, allocations: 55.98 kB / 420 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.5911, allocations: 456 kB / 420.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.5912, allocations: 8.281 kB / 420.4 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.5913, allocations: 23.95 kB / 420.5 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.5913, allocations: 8 kB / 420.5 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008523/0.5922, allocations: 287.1 kB / 420.8 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005388/0.5976, allocations: 1.784 MB / 422.5 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.5987, allocations: 361.6 kB / 422.9 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.5991, allocations: 133.7 kB / 423 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-05/0.5991, allocations: 4 kB / 423 MB, free: 4.215 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.5992, allocations: 42.56 kB / 423.1 MB, free: 4.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 3.987e-06/0.5992, allocations: 0 / 423.1 MB, free: 4.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.001035/0.6003, allocations: 334 kB / 423.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/0.6004, allocations: 132.5 kB / 423.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.6011, allocations: 396.7 kB / 423.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/0.6012, allocations: 37.7 kB / 423.9 MB, free: 3.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.6015, allocations: 308.6 kB / 424.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.6017, allocations: 154 kB / 424.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.6018, allocations: 12 kB / 424.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.602, allocations: 362.8 kB / 424.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.6024, allocations: 133.1 kB / 424.9 MB, free: 2.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.603, allocations: 269.1 kB / 425.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.6035, allocations: 163.4 kB / 425.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.6035, allocations: 7.938 kB / 425.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001246/0.6048, allocations: 484.3 kB / 425.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.6048, allocations: 8 kB / 425.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6048, allocations: 4 kB / 425.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.6049, allocations: 8 kB / 425.8 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/0.6059, allocations: 132.2 kB / 425.9 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.6059, allocations: 7.938 kB / 426 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/0.6066, allocations: 63.56 kB / 426 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.6066, allocations: 20 kB / 426 MB, free: 1.062 MB / 346.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.0001736/0.6068, allocations: 137.1 kB / 426.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.607, allocations: 63.3 kB / 426.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.6072, allocations: 57.28 kB / 426.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.6072, allocations: 4 kB / 426.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6072, allocations: 0 / 426.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6073, allocations: 4 kB / 426.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.6084, allocations: 0.5362 MB / 426.8 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.6084, allocations: 4 kB / 426.8 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.6095, allocations: 95.84 kB / 426.9 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.6095, allocations: 7.938 kB / 426.9 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.6096, allocations: 11.98 kB / 426.9 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.6096, allocations: 4 kB / 427 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6096, allocations: 0 / 427 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.6112, allocations: 0.692 MB / 427.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.6115, allocations: 164.5 kB / 427.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.6116, allocations: 8 kB / 427.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/0.6123, allocations: 39.97 kB / 427.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.6125, allocations: 27.95 kB / 427.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.6125, allocations: 8 kB / 427.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005961/0.6131, allocations: 313.6 kB / 428.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6131, allocations: 0 / 428.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007112/0.6139, allocations: 131.6 kB / 428.3 MB, free: 14.67 MB / 362.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.001891/0.6158, allocations: 1.302 MB / 429.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009912/0.6168, allocations: 336.4 kB / 430 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.6168, allocations: 0 / 430 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.6172, allocations: 159.8 kB / 430.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.6185, allocations: 145.4 kB / 430.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.6216, allocations: 1.118 MB / 431.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.6223, allocations: 0.8947 MB / 432.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00043/0.6227, allocations: 64.23 kB / 432.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.6232, allocations: 207.4 kB / 432.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6232, allocations: 0 / 432.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04171/0.6649, allocations: 10.33 MB / 442.9 MB, free: 120 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.6652, allocations: 138.5 kB / 443 MB, free: 15.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.976/3.641, allocations: 0 / 443 MB, free: 15.89 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction_res.mat does not exist to compare? outputFormat=mat