Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_InitializationConversion_SpringDamper",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(ModelicaTest): time 2.886/2.886, allocations: 235.1 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1869/3.073, allocations: 57.2 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/3.373, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/3.576, allocations: 81.47 MB / 435.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/3.576, allocations: 67.97 kB / 435.6 MB, free: 11.75 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.05518/3.632, allocations: 8.704 MB / 444.3 MB, free: 2.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/3.632, allocations: 8 kB / 444.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/3.632, allocations: 55.34 kB / 444.4 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/3.632, allocations: 289.3 kB / 444.7 MB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/3.632, allocations: 16 kB / 444.7 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/3.633, allocations: 39.89 kB / 444.7 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009826/3.634, allocations: 273.9 kB / 445 MB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/3.635, allocations: 356.2 kB / 445.3 MB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-05/3.635, allocations: 11.81 kB / 445.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/3.635, allocations: 0 / 445.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/3.635, allocations: 12 kB / 445.4 MB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/3.638, allocations: 1.081 MB / 446.4 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000899/3.639, allocations: 273.3 kB / 446.7 MB, free: 464 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009047/3.64, allocations: 195 kB / 446.9 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/3.64, allocations: 8.438 kB / 446.9 MB, free: 256 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/3.64, allocations: 39 kB / 446.9 MB, free: 204 kB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 4.108e-06/3.64, allocations: 3.938 kB / 446.9 MB, free: 200 kB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.1763/3.816, allocations: 1.788 MB / 448.7 MB, free: 128.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/3.817, allocations: 93.64 kB / 448.8 MB, free: 128.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/3.817, allocations: 190.3 kB / 449 MB, free: 128 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/3.817, allocations: 25.7 kB / 449 MB, free: 127.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/3.817, allocations: 190.1 kB / 449.2 MB, free: 127.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/3.817, allocations: 262.1 kB / 449.5 MB, free: 127.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/3.817, allocations: 0 / 449.5 MB, free: 127.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/3.817, allocations: 358.3 kB / 449.8 MB, free: 127.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/3.818, allocations: 129.7 kB / 449.9 MB, free: 127.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/3.818, allocations: 244 kB / 450.2 MB, free: 127.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/3.819, allocations: 183.3 kB / 450.4 MB, free: 127.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/3.819, allocations: 0 / 450.4 MB, free: 127.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001212/3.82, allocations: 491.5 kB / 450.8 MB, free: 127.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/3.82, allocations: 6.062 kB / 450.8 MB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/3.82, allocations: 3.469 kB / 450.9 MB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/3.82, allocations: 7.312 kB / 450.9 MB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/3.822, allocations: 185 kB / 451 MB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/3.822, allocations: 12.53 kB / 451.1 MB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/3.822, allocations: 9.203 kB / 451.1 MB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/3.822, allocations: 25.69 kB / 451.1 MB, free: 127.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0001439/3.822, allocations: 118.4 kB / 451.2 MB, free: 127.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/3.823, allocations: 45.12 kB / 451.2 MB, free: 127 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/3.823, allocations: 47.64 kB / 451.3 MB, free: 127 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/3.823, allocations: 10.38 kB / 451.3 MB, free: 127 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/3.823, allocations: 5.5 kB / 451.3 MB, free: 127 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/3.823, allocations: 3 kB / 451.3 MB, free: 127 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/3.826, allocations: 1.309 MB / 452.6 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/3.826, allocations: 3.594 kB / 452.6 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/3.827, allocations: 159.3 kB / 452.8 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.062e-05/3.827, allocations: 9 kB / 452.8 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.449e-05/3.827, allocations: 6.25 kB / 452.8 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-05/3.827, allocations: 15.66 kB / 452.8 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/3.827, allocations: 6.031 kB / 452.8 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002133/3.83, allocations: 0.9789 MB / 453.8 MB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002148/3.832, allocations: 1.533 MB / 455.3 MB, free: 125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/3.832, allocations: 116.4 kB / 455.4 MB, free: 124.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/3.832, allocations: 5.656 kB / 455.4 MB, free: 124.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/3.833, allocations: 7.375 kB / 455.5 MB, free: 124.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/3.833, allocations: 55.06 kB / 455.5 MB, free: 124.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/3.833, allocations: 20.5 kB / 455.5 MB, free: 124.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001849/3.833, allocations: 152 kB / 455.7 MB, free: 124.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00175/3.835, allocations: 123 kB / 455.8 MB, free: 124.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0002112/3.835, allocations: 119.8 kB / 455.9 MB, free: 124.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/3.836, allocations: 397.9 kB / 456.3 MB, free: 124.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/3.837, allocations: 0 / 456.3 MB, free: 124.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007607/3.837, allocations: 221.3 kB / 456.5 MB, free: 124.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/3.839, allocations: 79.94 kB / 456.6 MB, free: 124.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/3.843, allocations: 1.482 MB / 458.1 MB, free: 123.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007578/3.844, allocations: 0.9263 MB / 459 MB, free: 123.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.004e-06/3.844, allocations: 1.469 kB / 459 MB, free: 123.2 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat