Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_First",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.641/1.641, allocations: 194.9 MB / 202.6 MB, free: 6.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2171/1.858, allocations: 46.82 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/1.945, allocations: 44.5 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/2.214, allocations: 72.33 MB / 366.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/2.215, allocations: 72.48 kB / 366.3 MB, free: 7.059 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.01573/2.23, allocations: 3.959 MB / 370.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/2.23, allocations: 7.812 kB / 370.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/2.23, allocations: 27.31 kB / 370.3 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/2.231, allocations: 238.1 kB / 370.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/2.231, allocations: 7.656 kB / 370.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/2.231, allocations: 11.5 kB / 370.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003432/2.231, allocations: 114.5 kB / 370.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/2.232, allocations: 159.9 kB / 370.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/2.232, allocations: 0 / 370.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/2.232, allocations: 1.5 kB / 370.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/2.232, allocations: 7.5 kB / 370.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/2.233, allocations: 0.5729 MB / 371.4 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/2.233, allocations: 106.6 kB / 371.5 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/2.233, allocations: 84.03 kB / 371.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/2.233, allocations: 5.109 kB / 371.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/2.233, allocations: 42.44 kB / 371.6 MB, free: 5.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/2.233, allocations: 3.938 kB / 371.6 MB, free: 5.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002097/2.236, allocations: 0.8931 MB / 372.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/2.236, allocations: 55.25 kB / 372.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/2.236, allocations: 139 kB / 372.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/2.236, allocations: 29.58 kB / 372.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/2.236, allocations: 129.9 kB / 372.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/2.236, allocations: 114.9 kB / 373 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/2.236, allocations: 1.531 kB / 373 MB, free: 4.887 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/2.236, allocations: 335.9 kB / 373.3 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/2.236, allocations: 51 kB / 373.4 MB, free: 20.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/2.237, allocations: 87.86 kB / 373.4 MB, free: 20.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/2.237, allocations: 79.41 kB / 373.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/2.237, allocations: 3.844 kB / 373.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006363/2.237, allocations: 242.2 kB / 373.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/2.237, allocations: 3.875 kB / 373.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/2.237, allocations: 0 / 373.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/2.238, allocations: 48.86 kB / 373.8 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/2.238, allocations: 59.08 kB / 373.9 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/2.24, allocations: 1.498 MB / 375.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/2.24, allocations: 8.938 kB / 375.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/2.24, allocations: 9.172 kB / 375.4 MB, free: 19.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/2.24, allocations: 112.8 kB / 375.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/2.241, allocations: 19.47 kB / 375.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.764e-05/2.241, allocations: 25.02 kB / 375.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/2.241, allocations: 9.625 kB / 375.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/2.241, allocations: 3.875 kB / 375.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/2.241, allocations: 1.359 kB / 375.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/2.242, allocations: 0.7015 MB / 376.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/2.242, allocations: 0 / 376.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/2.243, allocations: 62.61 kB / 376.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001917/2.243, allocations: 34.22 kB / 376.4 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/2.243, allocations: 3.344 kB / 376.4 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/2.244, allocations: 1.333 MB / 377.7 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/2.244, allocations: 0 / 377.7 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009053/2.245, allocations: 474.7 kB / 378.2 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00118/2.247, allocations: 0.9175 MB / 379.1 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/2.247, allocations: 90.16 kB / 379.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/2.247, allocations: 5.281 kB / 379.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/2.247, allocations: 3.812 kB / 379.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/2.247, allocations: 22.33 kB / 379.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/2.247, allocations: 11.94 kB / 379.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001187/2.247, allocations: 117 kB / 379.3 MB, free: 16.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00148/2.249, allocations: 55.5 kB / 379.4 MB, free: 16.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/2.249, allocations: 103.5 kB / 379.5 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007165/2.25, allocations: 300.5 kB / 379.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/2.25, allocations: 4.125 kB / 379.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/2.25, allocations: 211.5 kB / 380 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/2.251, allocations: 30.98 kB / 380 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/2.252, allocations: 0.5716 MB / 380.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/2.253, allocations: 0.7868 MB / 381.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/2.253, allocations: 0 / 381.4 MB, free: 15.03 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat