Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.813/1.813, allocations: 171.2 MB / 178.1 MB, free: 8.297 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.188/2.002, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/2.1, allocations: 38.76 MB / 258 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/2.403, allocations: 65.46 MB / 323.5 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004056/2.403, allocations: 70.34 kB / 323.5 MB, free: 6.465 MB / 266.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.01463/2.418, allocations: 2.947 MB / 326.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/2.418, allocations: 8 kB / 326.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/2.418, allocations: 15.81 kB / 326.5 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/2.419, allocations: 206.6 kB / 326.7 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/2.419, allocations: 7.906 kB / 326.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/2.419, allocations: 15.75 kB / 326.7 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002967/2.419, allocations: 84.66 kB / 326.8 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/2.419, allocations: 157.1 kB / 327 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/2.419, allocations: 3.312 kB / 327 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/2.419, allocations: 0 / 327 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/2.42, allocations: 7.906 kB / 327 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/2.421, allocations: 0.7217 MB / 327.7 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/2.422, allocations: 109.3 kB / 327.8 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/2.422, allocations: 43.58 kB / 327.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/2.422, allocations: 2.516 kB / 327.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/2.422, allocations: 42 kB / 327.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.604e-06/2.422, allocations: 0 / 327.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000377/2.422, allocations: 96.25 kB / 328 MB, free: 2.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/2.422, allocations: 102.8 kB / 328.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/2.422, allocations: 144.8 kB / 328.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/2.422, allocations: 25.7 kB / 328.2 MB, free: 2.188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/2.423, allocations: 138.7 kB / 328.4 MB, free: 2.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/2.423, allocations: 52.52 kB / 328.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/2.423, allocations: 0 / 328.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/2.423, allocations: 322.5 kB / 328.7 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/2.423, allocations: 33.72 kB / 328.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/2.423, allocations: 122.5 kB / 328.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/2.423, allocations: 53.09 kB / 329 MB, free: 1.484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/2.423, allocations: 4 kB / 329 MB, free: 1.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004866/2.424, allocations: 173.9 kB / 329.1 MB, free: 1.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/2.424, allocations: 4 kB / 329.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/2.424, allocations: 4 kB / 329.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/2.424, allocations: 4 kB / 329.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/2.424, allocations: 51.56 kB / 329.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/2.424, allocations: 15.94 kB / 329.2 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/2.425, allocations: 15.75 kB / 329.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/2.425, allocations: 10.88 kB / 329.2 MB, free: 1.23 MB / 266.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.0001212/2.425, allocations: 120.7 kB / 329.3 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/2.425, allocations: 15.81 kB / 329.4 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/2.425, allocations: 15.48 kB / 329.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/2.425, allocations: 4 kB / 329.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/2.425, allocations: 0 / 329.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/2.425, allocations: 4 kB / 329.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/2.426, allocations: 216.2 kB / 329.6 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/2.426, allocations: 0 / 329.6 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/2.426, allocations: 27.98 kB / 329.6 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/2.426, allocations: 4 kB / 329.6 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/2.426, allocations: 0 / 329.6 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/2.426, allocations: 0 / 329.6 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/2.426, allocations: 4 kB / 329.6 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005187/2.427, allocations: 407.1 kB / 330 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007058/2.427, allocations: 0.7851 MB / 330.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/2.428, allocations: 92.38 kB / 330.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/2.428, allocations: 7.938 kB / 330.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/2.428, allocations: 0 / 330.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/2.428, allocations: 11.89 kB / 330.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/2.428, allocations: 4 kB / 330.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001254/2.428, allocations: 111.4 kB / 331 MB, free: 15.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001437/2.43, allocations: 39.84 kB / 331.1 MB, free: 15.36 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.0002007/2.43, allocations: 107.6 kB / 331.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003343/2.43, allocations: 95.17 kB / 331.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.43, allocations: 0 / 331.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/2.43, allocations: 35.44 kB / 331.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/2.431, allocations: 15.61 kB / 331.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/2.432, allocations: 0.5507 MB / 331.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/2.433, allocations: 0.7583 MB / 332.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of SimCode: time 4.288e-06/2.433, allocations: 0 / 332.6 MB, free: 13.79 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat