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 2.043/2.043, allocations: 171.3 MB / 178.8 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.638e-05/2.659e-05, allocations: 0 / 219.5 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3038, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.43, allocations: 65.22 MB / 323.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.4303, allocations: 67.95 kB / 323.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01197/0.4423, allocations: 2.819 MB / 326.4 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4423, allocations: 0 / 326.4 MB, free: 9.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.4423, allocations: 4 kB / 326.4 MB, free: 9.703 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.0006663/0.443, allocations: 430.2 kB / 326.8 MB, free: 9.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.4431, allocations: 12.03 kB / 326.9 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.4431, allocations: 19.75 kB / 326.9 MB, free: 9.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.4434, allocations: 209.4 kB / 327.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4435, allocations: 4 kB / 327.1 MB, free: 8.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.4435, allocations: 12 kB / 327.1 MB, free: 8.949 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000288/0.4438, allocations: 91.97 kB / 327.2 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.4442, allocations: 152.1 kB / 327.3 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.4442, allocations: 11.91 kB / 327.3 MB, free: 8.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.4443, allocations: 0 / 327.3 MB, free: 8.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4443, allocations: 4 kB / 327.3 MB, free: 8.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.4459, allocations: 0.7217 MB / 328.1 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.4462, allocations: 111.9 kB / 328.2 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.4463, allocations: 42.7 kB / 328.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4463, allocations: 3.938 kB / 328.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.4463, allocations: 34.56 kB / 328.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.4464, allocations: 0 / 328.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003408/0.4467, allocations: 97.52 kB / 328.4 MB, free: 7.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.4468, allocations: 102.8 kB / 328.5 MB, free: 7.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.4469, allocations: 149.8 kB / 328.6 MB, free: 7.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.447, allocations: 25.7 kB / 328.6 MB, free: 7.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.4471, allocations: 206.4 kB / 328.8 MB, free: 7.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.4472, allocations: 47.34 kB / 328.9 MB, free: 7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/0.4472, allocations: 4 kB / 328.9 MB, free: 6.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4473, allocations: 314.8 kB / 329.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.4474, allocations: 36.41 kB / 329.2 MB, free: 6.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.4476, allocations: 120.7 kB / 329.3 MB, free: 6.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.4478, allocations: 59.91 kB / 329.4 MB, free: 6.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4478, allocations: 0 / 329.4 MB, free: 6.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004157/0.4482, allocations: 177.4 kB / 329.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4482, allocations: 11.59 kB / 329.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4483, allocations: 4 kB / 329.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.4483, allocations: 4 kB / 329.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.4486, allocations: 47.91 kB / 329.6 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4487, allocations: 4 kB / 329.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.4488, allocations: 15.84 kB / 329.7 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.4489, allocations: 8 kB / 329.7 MB, free: 6.152 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 9.957e-05/0.449, allocations: 121 kB / 329.8 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002744/0.4493, allocations: 101.8 kB / 329.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.4494, allocations: 19.84 kB / 329.9 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.4494, allocations: 16.39 kB / 329.9 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.4495, allocations: 4 kB / 329.9 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4495, allocations: 0 / 329.9 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4495, allocations: 3.938 kB / 329.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.4501, allocations: 214.1 kB / 330.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4501, allocations: 0 / 330.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.4505, allocations: 27.98 kB / 330.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.4505, allocations: 4 kB / 330.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.4505, allocations: 8 kB / 330.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.4506, allocations: 128 / 330.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.4506, allocations: 8 kB / 330.2 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.451, allocations: 405.9 kB / 330.6 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.4511, allocations: 100.8 kB / 330.7 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.4512, allocations: 0 / 330.7 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.4514, allocations: 0 / 330.7 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.4514, allocations: 7.984 kB / 330.7 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.4515, allocations: 4 kB / 330.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.4516, allocations: 119.3 kB / 330.8 MB, free: 4.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4516, allocations: 0 / 330.8 MB, free: 4.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005803/0.4522, allocations: 39.84 kB / 330.8 MB, free: 4.879 MB / 282.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.001173/0.4534, allocations: 1.07 MB / 331.9 MB, free: 3.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.4538, allocations: 92.23 kB / 332 MB, free: 3.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4539, allocations: 0 / 332 MB, free: 3.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.454, allocations: 35.94 kB / 332 MB, free: 3.648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.4547, allocations: 15.98 kB / 332.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.4571, allocations: 0.648 MB / 332.7 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.4577, allocations: 0.7319 MB / 333.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.4579, allocations: 59.41 kB / 333.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of SimCode: time 1.432e-06/0.4579, allocations: 0 / 333.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.398/2.856, allocations: 2.554 MB / 336 MB, free: 15.57 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