Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.108/2.108, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.754e-05/3.762e-05, allocations: 6.5 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.6027, allocations: 78.57 MB / 421.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000398/0.6031, allocations: 68.64 kB / 421.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0288/0.632, allocations: 4.099 MB / 425.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.632, allocations: 0 / 425.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.6321, allocations: 8 kB / 425.9 MB, free: 11.81 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001383/0.6335, allocations: 480 kB / 426.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/0.6336, allocations: 8.031 kB / 426.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.6338, allocations: 59.84 kB / 426.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.6339, allocations: 23.72 kB / 426.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.6345, allocations: 228.8 kB / 426.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.6346, allocations: 23.56 kB / 426.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-05/0.6347, allocations: 22.92 kB / 426.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.6355, allocations: 183.3 kB / 426.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.6355, allocations: 0 / 426.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.6356, allocations: 14.14 kB / 426.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.6357, allocations: 4 kB / 426.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.6363, allocations: 125.5 kB / 427.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.6386, allocations: 0.621 MB / 427.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.6393, allocations: 166.8 kB / 427.8 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.6397, allocations: 96.84 kB / 427.9 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.6397, allocations: 4 kB / 427.9 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.6398, allocations: 38.31 kB / 428 MB, free: 9.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 7.685e-06/0.6398, allocations: 3.984 kB / 428 MB, free: 9.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.003946/0.6438, allocations: 0.9813 MB / 429 MB, free: 9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.6439, allocations: 55.62 kB / 429 MB, free: 8.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.6443, allocations: 156.7 kB / 429.2 MB, free: 8.789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.6444, allocations: 37.39 kB / 429.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.6445, allocations: 131.2 kB / 429.3 MB, free: 8.637 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.6447, allocations: 114.2 kB / 429.4 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.6448, allocations: 10.81 kB / 429.5 MB, free: 8.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.645, allocations: 335.3 kB / 429.8 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.6453, allocations: 65.38 kB / 429.8 MB, free: 8.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.6457, allocations: 90.72 kB / 429.9 MB, free: 8.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.6461, allocations: 79 kB / 430 MB, free: 8.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6461, allocations: 3.938 kB / 430 MB, free: 8.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001161/0.6473, allocations: 285.7 kB / 430.3 MB, free: 7.816 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.6474, allocations: 4 kB / 430.3 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6474, allocations: 0 / 430.3 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.6478, allocations: 44.58 kB / 430.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.6485, allocations: 59.16 kB / 430.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.6515, allocations: 1.562 MB / 432 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.652, allocations: 15.52 kB / 432 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.6521, allocations: 12.06 kB / 432 MB, free: 6.141 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.6523, allocations: 118.4 kB / 432.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.6524, allocations: 23.72 kB / 432.1 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.6525, allocations: 27.92 kB / 432.2 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.6526, allocations: 4 kB / 432.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.6526, allocations: 4 kB / 432.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.6526, allocations: 3.984 kB / 432.2 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.6552, allocations: 0.762 MB / 432.9 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.6553, allocations: 4.094 kB / 432.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008862/0.6562, allocations: 63.22 kB / 433 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/0.6566, allocations: 32.39 kB / 433 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.6567, allocations: 7.438 kB / 433 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/0.6591, allocations: 1.381 MB / 434.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6592, allocations: 3.938 kB / 434.4 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.6608, allocations: 0.494 MB / 434.9 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.661, allocations: 92.83 kB / 435 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.6611, allocations: 7.875 kB / 435 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.6615, allocations: 7.188 kB / 435 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.6617, allocations: 31.73 kB / 435 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.6617, allocations: 11.12 kB / 435.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002526/0.662, allocations: 134.3 kB / 435.2 MB, free: 3.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.662, allocations: 0 / 435.2 MB, free: 3.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009434/0.663, allocations: 70.88 kB / 435.3 MB, free: 2.977 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002176/0.6652, allocations: 1.243 MB / 436.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.6665, allocations: 306.6 kB / 436.8 MB, free: 1.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.6666, allocations: 0 / 436.8 MB, free: 1.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008288/0.6675, allocations: 220.7 kB / 437 MB, free: 1.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/0.6683, allocations: 42.89 kB / 437.1 MB, free: 1.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.6716, allocations: 0.6575 MB / 437.7 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.6723, allocations: 0.7603 MB / 438.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000269/0.6726, allocations: 26.05 kB / 438.5 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.6728, allocations: 73.41 kB / 438.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of SimCode: time 2.074e-06/0.6729, allocations: 3.938 kB / 438.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.7057, allocations: 4.633 MB / 443.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003521/0.7061, allocations: 172.9 kB / 443.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.367, allocations: 0 / 443.4 MB, free: 11.05 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat