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 1.99/1.99, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.53e-05/4.566e-05, allocations: 7.984 kB / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1, allocations: 44.51 MB / 299.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.4949, allocations: 71.18 MB / 371.1 MB, free: 21.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4952, allocations: 72.58 kB / 371.2 MB, free: 21.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01231/0.5075, allocations: 2.85 MB / 374 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5076, allocations: 0 / 374 MB, free: 20.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.5076, allocations: 3.281 kB / 374 MB, free: 20.63 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.0006091/0.5082, allocations: 426.3 kB / 374.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5083, allocations: 9.875 kB / 374.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.293e-05/0.5083, allocations: 51.39 kB / 374.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.5084, allocations: 23.19 kB / 374.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.5086, allocations: 213.7 kB / 374.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.5087, allocations: 10.31 kB / 374.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.5087, allocations: 27.91 kB / 374.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.5091, allocations: 168 kB / 374.9 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.5092, allocations: 1.609 kB / 374.9 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.5092, allocations: 4.781 kB / 375 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.5092, allocations: 5.281 kB / 375 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.5095, allocations: 97.97 kB / 375.1 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.5111, allocations: 0.7797 MB / 375.8 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.5113, allocations: 114.8 kB / 375.9 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.737e-05/0.5114, allocations: 48.33 kB / 376 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.5115, allocations: 3.141 kB / 376 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.5115, allocations: 40.27 kB / 376 MB, free: 19.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.547e-06/0.5115, allocations: 1.062 kB / 376 MB, free: 19.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003507/0.5119, allocations: 113.2 kB / 376.1 MB, free: 19.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.5119, allocations: 110.3 kB / 376.3 MB, free: 19.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.5122, allocations: 188.2 kB / 376.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.5122, allocations: 31.06 kB / 376.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.5123, allocations: 196.5 kB / 376.7 MB, free: 18.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.5124, allocations: 55.17 kB / 376.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.5124, allocations: 7.5 kB / 376.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.5125, allocations: 321.6 kB / 377 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.5126, allocations: 37.56 kB / 377.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.5127, allocations: 130.5 kB / 377.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.5129, allocations: 56.89 kB / 377.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5129, allocations: 1.062 kB / 377.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004184/0.5133, allocations: 196.3 kB / 377.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5134, allocations: 7.5 kB / 377.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5134, allocations: 7.75 kB / 377.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.5134, allocations: 4.125 kB / 377.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.5138, allocations: 47.84 kB / 377.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.5138, allocations: 7.953 kB / 377.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.514, allocations: 23.28 kB / 377.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.5141, allocations: 8.625 kB / 377.5 MB, free: 18.18 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 7.575e-05/0.5141, allocations: 124.6 kB / 377.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/0.5142, allocations: 17.06 kB / 377.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.5143, allocations: 23.91 kB / 377.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5143, allocations: 6.219 kB / 377.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5144, allocations: 1.031 kB / 377.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.5144, allocations: 6.766 kB / 377.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.515, allocations: 243.6 kB / 378 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.515, allocations: 1.219 kB / 378 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.5154, allocations: 33.47 kB / 378 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5154, allocations: 1.219 kB / 378 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.5154, allocations: 8.219 kB / 378 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5154, allocations: 5 kB / 378 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5154, allocations: 1.156 kB / 378 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.5158, allocations: 425.4 kB / 378.4 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.5159, allocations: 101.3 kB / 378.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.516, allocations: 6.203 kB / 378.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.5162, allocations: 4.812 kB / 378.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.5163, allocations: 10.86 kB / 378.5 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5163, allocations: 5.078 kB / 378.6 MB, free: 17.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001729/0.5165, allocations: 153.6 kB / 378.7 MB, free: 17.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5165, allocations: 3.938 kB / 378.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.517, allocations: 36.25 kB / 378.7 MB, free: 17.31 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.001085/0.5181, allocations: 1.092 MB / 379.8 MB, free: 32.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.5185, allocations: 103.5 kB / 379.9 MB, free: 32.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.5185, allocations: 1.875 kB / 379.9 MB, free: 32.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.879e-05/0.5186, allocations: 41.56 kB / 380 MB, free: 32.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.5191, allocations: 24.33 kB / 380 MB, free: 32.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.5207, allocations: 0.6399 MB / 380.6 MB, free: 31.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.5211, allocations: 0.7298 MB / 381.4 MB, free: 31.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.5212, allocations: 53.75 kB / 381.4 MB, free: 31.12 MB / 330.7 MB Notification: Performance of SimCode: time 9.51e-07/0.5212, allocations: 5.594 kB / 381.4 MB, free: 31.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.423/2.944, allocations: 2.733 MB / 384.2 MB, free: 30.89 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