Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") [: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 1.663/1.663, allocations: 209.3 MB / 216.3 MB, free: 6.762 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.825e-06/6.918e-06, allocations: 0 / 267.3 MB, free: 5.219 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08563/0.08566, allocations: 48.69 MB / 315.9 MB, free: 4.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.263/0.3487, allocations: 83.25 MB / 399.2 MB, free: 9.285 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.349, allocations: 68.58 kB / 399.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1329/0.4819, allocations: 27.47 MB / 426.7 MB, free: 1.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.537e-05/0.482, allocations: 19.94 kB / 426.8 MB, free: 1.684 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002287/0.4843, allocations: 0.9306 MB / 427.7 MB, free: 0.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4844, allocations: 8.031 kB / 427.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.4846, allocations: 87.06 kB / 427.8 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.486, allocations: 0.5383 MB / 428.3 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.4861, allocations: 16 kB / 428.3 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.4863, allocations: 35.95 kB / 428.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009225/0.4872, allocations: 313.4 kB / 428.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.4882, allocations: 437.9 kB / 429.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.4883, allocations: 0 / 429.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.307e-05/0.4884, allocations: 3.938 kB / 429.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.4884, allocations: 15.91 kB / 429.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004649/0.4931, allocations: 1.86 MB / 431 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.4942, allocations: 443.2 kB / 431.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.4946, allocations: 190.6 kB / 431.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.4947, allocations: 7.984 kB / 431.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.4948, allocations: 38.56 kB / 431.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.81e-06/0.4948, allocations: 0 / 431.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002109/0.4969, allocations: 0.7382 MB / 432.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.4971, allocations: 166.2 kB / 432.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008575/0.4979, allocations: 452.6 kB / 433 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/0.498, allocations: 25.7 kB / 433 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.4983, allocations: 224.2 kB / 433.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.4985, allocations: 161.5 kB / 433.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.4986, allocations: 0 / 433.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.4988, allocations: 386.8 kB / 433.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.4993, allocations: 185.3 kB / 434 MB, free: 10.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.5, allocations: 305.4 kB / 434.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.5005, allocations: 217.2 kB / 434.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.666e-06/0.5005, allocations: 4 kB / 434.5 MB, free: 9.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001494/0.5021, allocations: 0.5763 MB / 435 MB, free: 9.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5021, allocations: 4 kB / 435 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.5021, allocations: 4 kB / 435.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.5021, allocations: 4 kB / 435.1 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/0.5031, allocations: 152.1 kB / 435.2 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.5031, allocations: 8 kB / 435.2 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.5039, allocations: 83.62 kB / 435.3 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.504, allocations: 20 kB / 435.3 MB, free: 8.781 MB / 362.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 (68): * Single equations (assignments): 68 * 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.0001926/0.5042, allocations: 116.8 kB / 435.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.5044, allocations: 71.16 kB / 435.5 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.5047, allocations: 77.25 kB / 435.6 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.5047, allocations: 8 kB / 435.6 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.29e-06/0.5047, allocations: 0 / 435.6 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.669e-06/0.5048, allocations: 0 / 435.6 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.5064, allocations: 0.7287 MB / 436.3 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.271e-06/0.5064, allocations: 4 kB / 436.3 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009739/0.5074, allocations: 115.9 kB / 436.4 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.5074, allocations: 7.984 kB / 436.4 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/0.5075, allocations: 8 kB / 436.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.328e-06/0.5075, allocations: 11.88 kB / 436.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.286e-06/0.5075, allocations: 3.906 kB / 436.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001807/0.5093, allocations: 0.9412 MB / 437.4 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.5097, allocations: 188.2 kB / 437.6 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.5099, allocations: 12 kB / 437.6 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008521/0.5108, allocations: 63.84 kB / 437.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.5109, allocations: 31.95 kB / 437.7 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.511, allocations: 19.98 kB / 437.7 MB, free: 6.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0006402/0.5116, allocations: 351.2 kB / 438.1 MB, free: 5.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007867/0.5124, allocations: 96 kB / 438.1 MB, free: 5.848 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0002047/0.5127, allocations: 115.1 kB / 438.3 MB, free: 5.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.5138, allocations: 448.5 kB / 438.7 MB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.431e-06/0.5138, allocations: 4.062 kB / 438.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.5144, allocations: 211.8 kB / 438.9 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5155, allocations: 139 kB / 439 MB, free: 4.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.5187, allocations: 1.095 MB / 440.1 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/0.5198, allocations: 0.9952 MB / 441.1 MB, free: 2.781 MB / 362.7 MB Notification: Performance of SimCode: time 1.567e-06/0.5198, allocations: 4 kB / 441.1 MB, free: 2.777 MB / 362.7 MB Notification: Performance of Templates: time 0.02052/0.5403, allocations: 6.896 MB / 448 MB, free: 11.89 MB / 378.7 MB