Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.618/2.618, allocations: 270 MB / 283.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.115e-05, allocations: 0 / 348.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4153, allocations: 61.87 MB / 410.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.5915, allocations: 90.44 MB / 0.4891 GB, free: 40 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5918, allocations: 63.97 kB / 0.4891 GB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02833/0.6202, allocations: 6.162 MB / 0.4951 GB, free: 9.801 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6202, allocations: 0 / 0.4951 GB, free: 9.801 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.673e-05/0.6203, allocations: 23.92 kB / 0.4952 GB, free: 9.777 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001147/0.6214, allocations: 0.5144 MB / 0.4957 GB, free: 9.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.6215, allocations: 8.031 kB / 0.4957 GB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.6216, allocations: 66.55 kB / 0.4957 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003/0.6219, allocations: 51.59 kB / 0.4958 GB, free: 9.086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.6224, allocations: 254.4 kB / 0.496 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.6225, allocations: 24.78 kB / 0.496 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.6225, allocations: 39.95 kB / 0.4961 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.6233, allocations: 282.8 kB / 0.4964 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.6233, allocations: 11.89 kB / 0.4964 GB, free: 8.422 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.6234, allocations: 16 kB / 0.4964 GB, free: 8.406 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.6234, allocations: 8 kB / 0.4964 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.6239, allocations: 164.3 kB / 0.4965 GB, free: 8.238 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.6269, allocations: 1.341 MB / 0.4979 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.6276, allocations: 237.3 kB / 0.4981 GB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.6278, allocations: 76.33 kB / 0.4982 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.6278, allocations: 7.984 kB / 0.4982 GB, free: 6.418 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.6278, allocations: 34.5 kB / 0.4982 GB, free: 6.375 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 3.146e-06/0.6279, allocations: 0 / 0.4982 GB, free: 6.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006214/0.6285, allocations: 169.5 kB / 0.4984 GB, free: 6.203 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.6286, allocations: 166.2 kB / 0.4985 GB, free: 6.004 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.6289, allocations: 187 kB / 0.4987 GB, free: 5.809 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.629, allocations: 33.7 kB / 0.4987 GB, free: 5.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.6291, allocations: 183.8 kB / 0.4989 GB, free: 5.582 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.6292, allocations: 82.72 kB / 0.499 GB, free: 5.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.6293, allocations: 15.94 kB / 0.499 GB, free: 5.484 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6294, allocations: 339 kB / 0.4993 GB, free: 5.145 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.6296, allocations: 64 kB / 0.4994 GB, free: 5.082 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.63, allocations: 202.4 kB / 0.4996 GB, free: 4.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.6302, allocations: 91.91 kB / 0.4997 GB, free: 4.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.6303, allocations: 0 / 0.4997 GB, free: 4.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00074/0.631, allocations: 301 kB / 0.4999 GB, free: 4.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.6311, allocations: 8 kB / 0.5 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6311, allocations: 4.531 kB / 0.5 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.6311, allocations: 15.98 kB / 0.5 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.6317, allocations: 79.91 kB / 0.5 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/0.6317, allocations: 11.94 kB / 0.5001 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.6321, allocations: 39.67 kB / 0.5001 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.6322, allocations: 16 kB / 0.5001 GB, free: 4.258 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001348/0.6323, allocations: 128.8 kB / 0.5002 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.6325, allocations: 23.72 kB / 0.5003 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.6327, allocations: 91.14 kB / 0.5003 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.6328, allocations: 4 kB / 0.5003 GB, free: 4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6328, allocations: 0 / 0.5003 GB, free: 4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.6328, allocations: 4 kB / 0.5004 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008847/0.6337, allocations: 317.3 kB / 0.5007 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.6337, allocations: 4 kB / 0.5007 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.6344, allocations: 67.91 kB / 0.5007 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.6345, allocations: 4 kB / 0.5007 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.6345, allocations: 0 / 0.5007 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.6345, allocations: 4 kB / 0.5007 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6345, allocations: 0 / 0.5007 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/0.6354, allocations: 0.6858 MB / 0.5014 GB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.6355, allocations: 96.95 kB / 0.5015 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.6356, allocations: 11.89 kB / 0.5015 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.636, allocations: 11.98 kB / 0.5015 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.636, allocations: 15.98 kB / 0.5015 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.6361, allocations: 8.25 kB / 0.5015 GB, free: 2.668 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001982/0.6363, allocations: 149.7 kB / 0.5017 GB, free: 2.523 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6363, allocations: 3.938 kB / 0.5017 GB, free: 2.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007852/0.6371, allocations: 79.75 kB / 0.5018 GB, free: 2.441 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.001225/0.6383, allocations: 1.502 MB / 0.5032 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.6389, allocations: 175.6 kB / 0.5034 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.6389, allocations: 1.062 kB / 0.5034 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.6391, allocations: 67.92 kB / 0.5035 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008662/0.6399, allocations: 62.38 kB / 0.5035 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.6441, allocations: 1.091 MB / 0.5046 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.6448, allocations: 0.7758 MB / 0.5053 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003187/0.6452, allocations: 30.97 kB / 0.5054 GB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.6454, allocations: 87.41 kB / 0.5055 GB, free: 14.55 MB / 442.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6454, allocations: 0 / 0.5055 GB, free: 14.55 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07966/0.7251, allocations: 4.806 MB / 0.5101 GB, free: 9.855 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/0.7255, allocations: 142.8 kB / 0.5103 GB, free: 9.633 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.229, allocations: 0 / 0.5103 GB, free: 9.633 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking_res.mat does not exist to compare? outputFormat=mat