Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.272e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.313, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.4652, allocations: 70.54 MB / 364.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4655, allocations: 59.97 kB / 364.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.4779, allocations: 2.831 MB / 367.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4779, allocations: 0 / 367.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.4779, allocations: 4 kB / 367.6 MB, free: 8.453 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006593/0.4786, allocations: 422.1 kB / 368 MB, free: 7.996 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4787, allocations: 12.03 kB / 368 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.4787, allocations: 19.72 kB / 368.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.479, allocations: 215.9 kB / 368.3 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4791, allocations: 4 kB / 368.3 MB, free: 7.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.4791, allocations: 19.91 kB / 368.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002712/0.4794, allocations: 75.98 kB / 368.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.4798, allocations: 152.2 kB / 368.5 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.4798, allocations: 7.984 kB / 368.5 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.4798, allocations: 0 / 368.5 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.4799, allocations: 4 kB / 368.5 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.4815, allocations: 0.7193 MB / 369.3 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.4818, allocations: 107.7 kB / 369.4 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.4819, allocations: 50.69 kB / 369.4 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4819, allocations: 0 / 369.4 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.482, allocations: 42.5 kB / 369.5 MB, free: 6.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.405e-06/0.482, allocations: 0 / 369.5 MB, free: 6.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003682/0.4824, allocations: 89.62 kB / 369.5 MB, free: 6.332 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.4824, allocations: 118.7 kB / 369.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.4826, allocations: 141.1 kB / 369.8 MB, free: 6.047 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.4827, allocations: 25.7 kB / 369.8 MB, free: 6.016 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.4828, allocations: 214.3 kB / 370 MB, free: 5.805 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.4829, allocations: 47.27 kB / 370.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.4829, allocations: 0 / 370.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.483, allocations: 326.8 kB / 370.4 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.832e-05/0.4831, allocations: 32.47 kB / 370.4 MB, free: 5.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.4833, allocations: 116.7 kB / 370.5 MB, free: 5.238 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.4835, allocations: 52.5 kB / 370.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4835, allocations: 4 kB / 370.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004347/0.484, allocations: 173.4 kB / 370.8 MB, free: 5.008 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.484, allocations: 8 kB / 370.8 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.484, allocations: 0 / 370.8 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.4841, allocations: 8 kB / 370.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.4844, allocations: 43.92 kB / 370.8 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.4844, allocations: 4 kB / 370.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.4846, allocations: 11.84 kB / 370.8 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.4846, allocations: 16 kB / 370.9 MB, free: 4.918 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001226/0.4848, allocations: 120.9 kB / 371 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002985/0.4851, allocations: 105.4 kB / 371.1 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.4852, allocations: 15.84 kB / 371.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.4852, allocations: 12.53 kB / 371.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4853, allocations: 4.328 kB / 371.1 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4853, allocations: 4 kB / 371.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4853, allocations: 7.938 kB / 371.1 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00067/0.486, allocations: 206.1 kB / 371.3 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.486, allocations: 7.984 kB / 371.3 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.4863, allocations: 35.92 kB / 371.4 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.4864, allocations: 4 kB / 371.4 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.4864, allocations: 7.938 kB / 371.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4864, allocations: 3.984 kB / 371.4 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4864, allocations: 0 / 371.4 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.4869, allocations: 401.5 kB / 371.8 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.487, allocations: 92.95 kB / 371.9 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.4871, allocations: 0 / 371.9 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.4873, allocations: 3.953 kB / 371.9 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.4874, allocations: 15.98 kB / 371.9 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.4874, allocations: 4 kB / 371.9 MB, free: 3.789 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.4875, allocations: 111.3 kB / 372 MB, free: 3.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.4875, allocations: 0 / 372 MB, free: 3.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005861/0.4881, allocations: 39.84 kB / 372 MB, free: 3.641 MB / 314.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 (13): * Single equations (assignments): 13 * 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.000874/0.489, allocations: 1.07 MB / 373.1 MB, free: 2.539 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.4893, allocations: 95.94 kB / 373.2 MB, free: 2.445 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4893, allocations: 0 / 373.2 MB, free: 2.445 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.4894, allocations: 35.92 kB / 373.2 MB, free: 2.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.49, allocations: 12 kB / 373.2 MB, free: 2.398 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.4918, allocations: 0.6486 MB / 373.9 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.4922, allocations: 0.7319 MB / 374.6 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.4924, allocations: 47.42 kB / 374.7 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4924, allocations: 0 / 374.7 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.534/3.027, allocations: 2.549 MB / 377.2 MB, free: 14.35 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat