Running command: "" <> buildModelFMU(ModelicaTest.Blocks.UnitDeduction,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_UnitDeduction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.39/2.39, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.996e-05, allocations: 4 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1641, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5732/0.7373, allocations: 95.58 MB / 0.4941 GB, free: 8.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.7376, allocations: 67.97 kB / 0.4941 GB, free: 8.348 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07821/0.8158, allocations: 14.39 MB / 0.5082 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.8159, allocations: 0 / 0.5082 GB, free: 9.934 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001137/0.816, allocations: 23.92 kB / 0.5082 GB, free: 9.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.002988/0.819, allocations: 0.8724 MB / 0.5091 GB, free: 8.988 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.8191, allocations: 8.031 kB / 0.5091 GB, free: 8.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002294/0.8193, allocations: 102.5 kB / 0.5092 GB, free: 8.871 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.8197, allocations: 87.31 kB / 0.5093 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.8214, allocations: 0.5036 MB / 0.5098 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.8215, allocations: 49.31 kB / 0.5098 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.8217, allocations: 56 kB / 0.5099 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.8236, allocations: 0.5624 MB / 0.5104 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.8237, allocations: 7.984 kB / 0.5104 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.8238, allocations: 20 kB / 0.5104 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.8239, allocations: 16 kB / 0.5104 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.8252, allocations: 321.3 kB / 0.5107 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007425/0.8327, allocations: 3.041 MB / 0.5137 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.8338, allocations: 349.9 kB / 0.5141 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.8341, allocations: 141.7 kB / 0.5142 GB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-05/0.8342, allocations: 8.141 kB / 0.5142 GB, free: 3.465 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.8343, allocations: 42.62 kB / 0.5142 GB, free: 3.414 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 3.216e-06/0.8343, allocations: 0 / 0.5142 GB, free: 3.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.001052/0.8353, allocations: 357.8 kB / 0.5146 GB, free: 3.055 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.8354, allocations: 106.8 kB / 0.5147 GB, free: 2.926 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/0.8364, allocations: 475.5 kB / 0.5151 GB, free: 2.453 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.001e-05/0.8365, allocations: 33.7 kB / 0.5152 GB, free: 2.414 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.8369, allocations: 376.2 kB / 0.5155 GB, free: 2.039 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.8371, allocations: 149.8 kB / 0.5157 GB, free: 1.891 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.8371, allocations: 19.94 kB / 0.5157 GB, free: 1.871 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.8374, allocations: 374.8 kB / 0.516 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.8378, allocations: 149.5 kB / 0.5162 GB, free: 1.348 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.8385, allocations: 352.8 kB / 0.5165 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.839, allocations: 187.6 kB / 0.5167 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.8391, allocations: 4 kB / 0.5167 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001519/0.8406, allocations: 0.5593 MB / 0.5173 GB, free: 160 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00112/0.8417, allocations: 2.617 MB / 0.5198 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.8418, allocations: 11.98 kB / 0.5198 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/0.8418, allocations: 8 kB / 0.5198 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.843, allocations: 147.8 kB / 0.52 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.842e-05/0.843, allocations: 15.94 kB / 0.52 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008315/0.8439, allocations: 75.41 kB / 0.5201 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.844, allocations: 28 kB / 0.5201 GB, free: 13.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.844, allocations: 6.5 kB / 0.5201 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001276/0.8453, allocations: 491.6 kB / 0.5206 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.8453, allocations: 4 kB / 0.5206 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.8453, allocations: 12 kB / 0.5206 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/0.8463, allocations: 135.8 kB / 0.5207 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.432e-05/0.8464, allocations: 15.92 kB / 0.5207 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006912/0.8471, allocations: 67.8 kB / 0.5208 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.8471, allocations: 24 kB / 0.5208 GB, free: 12.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 (Asec.local_reset,Vsec.local_reset,Wsec.local_reset,PID1.I.local_reset,PID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0002224/0.8474, allocations: 144.7 kB / 0.5209 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.8476, allocations: 67.25 kB / 0.521 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.8478, allocations: 66.3 kB / 0.5211 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.8478, allocations: 8 kB / 0.5211 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8478, allocations: 0 / 0.5211 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.8478, allocations: 3.984 kB / 0.5211 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.8491, allocations: 0.5828 MB / 0.5216 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.8491, allocations: 3.984 kB / 0.5217 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.8501, allocations: 91.89 kB / 0.5217 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.8501, allocations: 0 / 0.5217 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.8502, allocations: 12 kB / 0.5218 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.8502, allocations: 4 kB / 0.5218 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8502, allocations: 3.984 kB / 0.5218 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.8516, allocations: 0.7088 MB / 0.5225 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.8519, allocations: 164.4 kB / 0.5226 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.8521, allocations: 11.98 kB / 0.5226 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006868/0.8528, allocations: 39.98 kB / 0.5227 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.8529, allocations: 31.89 kB / 0.5227 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.853, allocations: 11.98 kB / 0.5227 GB, free: 10.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006359/0.8536, allocations: 367.2 kB / 0.5231 GB, free: 9.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8536, allocations: 0 / 0.5231 GB, free: 9.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001214/0.8548, allocations: 247.2 kB / 0.5233 GB, free: 9.668 MB / 442.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 (39): * Single equations (assignments): 39 * 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.001954/0.8568, allocations: 1.33 MB / 0.5246 GB, free: 8.305 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.8586, allocations: 0.6298 MB / 0.5252 GB, free: 7.676 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8587, allocations: 0 / 0.5252 GB, free: 7.676 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.8591, allocations: 159.9 kB / 0.5254 GB, free: 7.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.8606, allocations: 161.8 kB / 0.5255 GB, free: 7.371 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.8641, allocations: 1.208 MB / 0.5267 GB, free: 6.121 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.8648, allocations: 0.9281 MB / 0.5276 GB, free: 5.168 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009449/0.8658, allocations: 119.2 kB / 0.5277 GB, free: 5.047 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/0.8663, allocations: 235.4 kB / 0.5279 GB, free: 4.816 MB / 442.7 MB Notification: Performance of SimCode: time 1.492e-06/0.8663, allocations: 0 / 0.5279 GB, free: 4.816 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06306/0.9294, allocations: 12.64 MB / 0.5403 GB, free: 8.305 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/0.9298, allocations: 145.5 kB / 0.5404 GB, free: 8.074 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/3.919, allocations: 4 kB / 0.5404 GB, free: 8.07 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction_res.mat does not exist to compare? outputFormat=mat