Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.373/2.373, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.081e-05/3.115e-05, allocations: 0 / 292.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.5858, allocations: 76.71 MB / 419.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.586, allocations: 72.14 kB / 419.9 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01238/0.5984, allocations: 2.901 MB / 422.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5985, allocations: 4 kB / 422.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.5985, allocations: 0 / 422.8 MB, free: 14.9 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006861/0.5992, allocations: 424.4 kB / 423.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5993, allocations: 14.98 kB / 423.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.442e-05/0.5993, allocations: 48.86 kB / 423.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.5994, allocations: 19.77 kB / 423.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.5997, allocations: 214.2 kB / 423.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.5997, allocations: 11.38 kB / 423.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.5998, allocations: 15.25 kB / 423.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.6002, allocations: 174.2 kB / 423.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.6003, allocations: 7.906 kB / 423.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.6003, allocations: 3.875 kB / 423.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.6003, allocations: 7.953 kB / 423.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.6006, allocations: 96.59 kB / 423.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.6026, allocations: 0.96 MB / 424.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.603, allocations: 101 kB / 424.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.924e-05/0.6031, allocations: 44.45 kB / 425 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.6031, allocations: 4 kB / 425 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.6032, allocations: 30.56 kB / 425 MB, free: 12.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.826e-06/0.6032, allocations: 0 / 425 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003758/0.6035, allocations: 107.9 kB / 425.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.6036, allocations: 102.8 kB / 425.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.6039, allocations: 186.2 kB / 425.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.604, allocations: 29.33 kB / 425.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.6041, allocations: 146.1 kB / 425.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.237e-05/0.6042, allocations: 50.7 kB / 425.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.6042, allocations: 1.938 kB / 425.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.6044, allocations: 328 kB / 425.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.6045, allocations: 34.59 kB / 425.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.6047, allocations: 142.6 kB / 426.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.6049, allocations: 63.72 kB / 426.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6049, allocations: 4 kB / 426.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004982/0.6054, allocations: 204.2 kB / 426.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6054, allocations: 4 kB / 426.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.6055, allocations: 7.984 kB / 426.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.6055, allocations: 8.406 kB / 426.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.6058, allocations: 47.92 kB / 426.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.6059, allocations: 11.98 kB / 426.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.6061, allocations: 35.44 kB / 426.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.6061, allocations: 11.19 kB / 426.5 MB, free: 11.29 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 (28): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.6062, allocations: 120.2 kB / 426.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.6063, allocations: 27.52 kB / 426.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.905e-05/0.6064, allocations: 23.11 kB / 426.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6064, allocations: 0 / 426.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6065, allocations: 0 / 426.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.6065, allocations: 8 kB / 426.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.6071, allocations: 236.1 kB / 426.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6072, allocations: 0 / 426.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.6075, allocations: 27.98 kB / 426.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.6075, allocations: 4 kB / 426.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.6075, allocations: 3.953 kB / 426.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.6076, allocations: 4 kB / 426.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6076, allocations: 0 / 426.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.608, allocations: 416.3 kB / 427.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/0.6081, allocations: 96.3 kB / 427.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.6082, allocations: 7.984 kB / 427.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.6084, allocations: 3.25 kB / 427.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.6085, allocations: 4 kB / 427.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.6085, allocations: 7.625 kB / 427.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.6087, allocations: 154 kB / 427.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6087, allocations: 0 / 427.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005897/0.6093, allocations: 35.44 kB / 427.6 MB, free: 10.13 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0008465/0.6101, allocations: 1.08 MB / 428.7 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.6105, allocations: 100.7 kB / 428.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6105, allocations: 3.938 kB / 428.8 MB, free: 8.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.6106, allocations: 31.36 kB / 428.8 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.6111, allocations: 25.12 kB / 428.9 MB, free: 8.922 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.6129, allocations: 0.6176 MB / 429.5 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.6133, allocations: 0.7322 MB / 430.2 MB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.6135, allocations: 25.53 kB / 430.2 MB, free: 7.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-05/0.6136, allocations: 45.73 kB / 430.3 MB, free: 7.484 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6136, allocations: 0 / 430.3 MB, free: 7.484 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.6372, allocations: 3.018 MB / 433.3 MB, free: 4.539 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/0.6376, allocations: 158.7 kB / 433.5 MB, free: 4.316 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.192, allocations: 0 / 433.5 MB, free: 4.316 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat