Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.551e-05, allocations: 0 / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3529, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.483, allocations: 72.06 MB / 366.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.4834, allocations: 71.97 kB / 366.4 MB, free: 9.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.494, allocations: 2.472 MB / 368.8 MB, free: 7.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.494, allocations: 0 / 368.8 MB, free: 7.238 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.4941, allocations: 4 kB / 368.8 MB, free: 7.234 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006201/0.4947, allocations: 414.2 kB / 369.2 MB, free: 6.785 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4948, allocations: 8.031 kB / 369.2 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.4948, allocations: 19.75 kB / 369.3 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.4951, allocations: 198.8 kB / 369.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.4951, allocations: 11.98 kB / 369.5 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.4952, allocations: 8 kB / 369.5 MB, free: 6.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002801/0.4955, allocations: 71.98 kB / 369.5 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.4958, allocations: 105.4 kB / 369.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.4958, allocations: 4 kB / 369.6 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.4958, allocations: 0 / 369.6 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.4959, allocations: 8 kB / 369.7 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.4969, allocations: 0.4905 MB / 370.1 MB, free: 5.777 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.4971, allocations: 74.48 kB / 370.2 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.4972, allocations: 16.86 kB / 370.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.4972, allocations: 4 kB / 370.2 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4973, allocations: 34.56 kB / 370.3 MB, free: 5.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.4973, allocations: 0 / 370.3 MB, free: 5.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.001023/0.4983, allocations: 0.5282 MB / 370.8 MB, free: 5.008 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.4984, allocations: 51.41 kB / 370.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4985, allocations: 115.5 kB / 371 MB, free: 4.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.4985, allocations: 26.45 kB / 371 MB, free: 4.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.4986, allocations: 139.8 kB / 371.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.4987, allocations: 39.45 kB / 371.2 MB, free: 4.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/0.4987, allocations: 0 / 371.2 MB, free: 4.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4989, allocations: 322.8 kB / 371.5 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.4989, allocations: 23.94 kB / 371.5 MB, free: 4.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.4991, allocations: 82.06 kB / 371.6 MB, free: 4.168 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.4992, allocations: 43.91 kB / 371.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4992, allocations: 0 / 371.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003206/0.4996, allocations: 129.4 kB / 371.8 MB, free: 3.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4996, allocations: 4.188 kB / 371.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4996, allocations: 11.95 kB / 371.8 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4996, allocations: 0 / 371.8 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.4999, allocations: 39.97 kB / 371.8 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.5, allocations: 7.938 kB / 371.8 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.5001, allocations: 4 kB / 371.8 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.5001, allocations: 4 kB / 371.8 MB, free: 3.922 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.349e-05/0.5002, allocations: 108.8 kB / 371.9 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002014/0.5004, allocations: 85.53 kB / 372 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.5005, allocations: 19.84 kB / 372 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.5006, allocations: 12.62 kB / 372 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5006, allocations: 0 / 372 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.5006, allocations: 4 kB / 372 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5006, allocations: 3.938 kB / 372.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.5013, allocations: 392.6 kB / 372.4 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5013, allocations: 0 / 372.4 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.5016, allocations: 23.98 kB / 372.5 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.5016, allocations: 4 kB / 372.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.5016, allocations: 3.984 kB / 372.5 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.5016, allocations: 4 kB / 372.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5016, allocations: 0 / 372.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.502, allocations: 256.9 kB / 372.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.5021, allocations: 88.98 kB / 372.8 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.5021, allocations: 0 / 372.8 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.5023, allocations: 4 kB / 372.8 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.5023, allocations: 7.984 kB / 372.8 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.5024, allocations: 7.953 kB / 372.8 MB, free: 2.801 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.5025, allocations: 103.3 kB / 372.9 MB, free: 2.699 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5025, allocations: 0 / 372.9 MB, free: 2.699 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004282/0.5029, allocations: 27.94 kB / 373 MB, free: 2.672 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007053/0.5036, allocations: 0.9097 MB / 373.9 MB, free: 1.723 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.5039, allocations: 71.88 kB / 373.9 MB, free: 1.652 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5039, allocations: 4 kB / 373.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.504, allocations: 31.92 kB / 374 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.5043, allocations: 15.86 kB / 374 MB, free: 1.602 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.5054, allocations: 334.5 kB / 374.3 MB, free: 1.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.5057, allocations: 0.7197 MB / 375 MB, free: 496 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.591e-05/0.5058, allocations: 8.891 kB / 375 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.5059, allocations: 39.42 kB / 375.1 MB, free: 444 kB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5059, allocations: 0 / 375.1 MB, free: 444 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.5404, allocations: 1.777 MB / 376.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.5407, allocations: 139.1 kB / 377 MB, free: 14.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.07, allocations: 0 / 377 MB, free: 14.48 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat