Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.531e-05, allocations: 4 kB / 225.1 MB, free: 2.625 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2644, allocations: 38.77 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.3941, allocations: 65.88 MB / 329.7 MB, free: 7.879 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.3945, allocations: 71.95 kB / 329.8 MB, free: 7.809 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01193/0.4064, allocations: 2.851 MB / 332.7 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4065, allocations: 4 kB / 332.7 MB, free: 4.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.4065, allocations: 0 / 332.7 MB, free: 4.938 MB / 282.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.0006865/0.4072, allocations: 430.2 kB / 333.1 MB, free: 4.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4073, allocations: 8.031 kB / 333.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.618e-05/0.4074, allocations: 58.42 kB / 333.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.4074, allocations: 19.81 kB / 333.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.4077, allocations: 206.8 kB / 333.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.4078, allocations: 16 kB / 333.4 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.4078, allocations: 16 kB / 333.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.4083, allocations: 180.1 kB / 333.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.4083, allocations: 7.891 kB / 333.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.4083, allocations: 8 kB / 333.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.4084, allocations: 4 kB / 333.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.4087, allocations: 95.86 kB / 333.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.4104, allocations: 0.7795 MB / 334.5 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.4107, allocations: 107.9 kB / 334.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4108, allocations: 50.64 kB / 334.6 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.4108, allocations: 0 / 334.6 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4109, allocations: 30.56 kB / 334.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.4109, allocations: 0 / 334.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003661/0.4112, allocations: 113.4 kB / 334.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.4113, allocations: 114.8 kB / 334.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.4116, allocations: 189.9 kB / 335.1 MB, free: 2.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.4117, allocations: 25.7 kB / 335.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.4118, allocations: 198.4 kB / 335.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.98e-05/0.4119, allocations: 55.2 kB / 335.3 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.4119, allocations: 4 kB / 335.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4121, allocations: 326.8 kB / 335.7 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.4122, allocations: 40.47 kB / 335.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.4124, allocations: 124.7 kB / 335.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.4126, allocations: 51.98 kB / 335.9 MB, free: 1.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4126, allocations: 4 kB / 335.9 MB, free: 1.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004576/0.4131, allocations: 185.5 kB / 336 MB, free: 1.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.4131, allocations: 8 kB / 336.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4132, allocations: 4 kB / 336.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4132, allocations: 4.047 kB / 336.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.4135, allocations: 47.91 kB / 336.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.4135, allocations: 12.27 kB / 336.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.4137, allocations: 27.75 kB / 336.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.4138, allocations: 19.94 kB / 336.2 MB, free: 1.086 MB / 282.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.0001221/0.4139, allocations: 116.8 kB / 336.3 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.414, allocations: 19.81 kB / 336.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.4141, allocations: 24.98 kB / 336.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.4141, allocations: 4 kB / 336.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4141, allocations: 0 / 336.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.4141, allocations: 0 / 336.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.4148, allocations: 245.5 kB / 336.6 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4148, allocations: 0 / 336.6 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.4152, allocations: 36.05 kB / 336.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4152, allocations: 4 kB / 336.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.4152, allocations: 4 kB / 336.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4152, allocations: 0 / 336.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4152, allocations: 0 / 336.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.4158, allocations: 429.4 kB / 337 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.4159, allocations: 96.86 kB / 337.1 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.4159, allocations: 8 kB / 337.1 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.4161, allocations: 0 / 337.1 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.4162, allocations: 12.03 kB / 337.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.4162, allocations: 7.953 kB / 337.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001926/0.4164, allocations: 156.1 kB / 337.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4165, allocations: 4 kB / 337.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005565/0.417, allocations: 44 kB / 337.4 MB, free: 15.79 MB / 298.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.0008763/0.4179, allocations: 1.084 MB / 338.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.4182, allocations: 95.92 kB / 338.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4183, allocations: 0 / 338.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.4184, allocations: 35.94 kB / 338.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.4189, allocations: 34.45 kB / 338.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.4206, allocations: 0.6572 MB / 339.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.4211, allocations: 0.7324 MB / 340 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.4212, allocations: 55.41 kB / 340 MB, free: 12.98 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4213, allocations: 0 / 340 MB, free: 12.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.517/2.939, allocations: 2.717 MB / 342.8 MB, free: 10.27 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat