Running command: translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") [: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(HanserModelica): time 1.95/1.95, allocations: 214.7 MB / 221.7 MB, free: 5.012 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.955e-06/9.979e-06, allocations: 4 kB / 273.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09315, allocations: 49.7 MB / 323.3 MB, free: 16 kB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2613/0.3545, allocations: 75.73 MB / 399.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.3547, allocations: 68.39 kB / 399.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004603/0.3593, allocations: 0.7979 MB / 399.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.462e-06/0.3594, allocations: 0 / 399.9 MB, free: 14.77 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003866/0.3598, allocations: 365 kB / 400.3 MB, free: 14.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3598, allocations: 8.031 kB / 400.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.3599, allocations: 15.81 kB / 400.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.3602, allocations: 208.6 kB / 400.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3602, allocations: 3.906 kB / 400.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-06/0.3602, allocations: 0 / 400.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.902e-05/0.3603, allocations: 15.11 kB / 400.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.863e-05/0.3604, allocations: 41.56 kB / 400.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.159e-06/0.3604, allocations: 0 / 400.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.645e-06/0.3604, allocations: 0 / 400.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-06/0.3604, allocations: 0 / 400.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.3607, allocations: 170.9 kB / 400.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.963e-05/0.3607, allocations: 33.44 kB / 400.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.3608, allocations: 16.77 kB / 400.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3608, allocations: 0 / 400.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3609, allocations: 33.75 kB / 400.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.952e-06/0.3609, allocations: 0 / 400.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001767/0.3611, allocations: 63.09 kB / 400.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3611, allocations: 51.41 kB / 400.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.3614, allocations: 197.2 kB / 401.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.3614, allocations: 29.7 kB / 401.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.3615, allocations: 87.39 kB / 401.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.3615, allocations: 14.17 kB / 401.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.3615, allocations: 0 / 401.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3617, allocations: 322.4 kB / 401.6 MB, free: 13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.3618, allocations: 7.938 kB / 401.6 MB, free: 13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.3618, allocations: 4 kB / 401.6 MB, free: 13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.3618, allocations: 11.98 kB / 401.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.026e-06/0.3618, allocations: 0 / 401.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001304/0.362, allocations: 61.59 kB / 401.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.362, allocations: 7.75 kB / 401.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.933e-06/0.362, allocations: 0 / 401.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.362, allocations: 3.906 kB / 401.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.3621, allocations: 7.938 kB / 401.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.861e-06/0.3622, allocations: 0 / 401.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.047e-05/0.3622, allocations: 7.984 kB / 401.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3623, allocations: 0 / 401.7 MB, free: 12.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.558e-05/0.3623, allocations: 105 kB / 401.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.3624, allocations: 16.47 kB / 401.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.3626, allocations: 61.77 kB / 401.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-06/0.3626, allocations: 0 / 401.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.076e-06/0.3626, allocations: 0.875 kB / 401.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-06/0.3626, allocations: 0 / 401.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3628, allocations: 173.4 kB / 402 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-06/0.3628, allocations: 3.938 kB / 402 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.3629, allocations: 4 kB / 402 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.413e-06/0.3629, allocations: 8 kB / 402 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.799e-06/0.3629, allocations: 7.938 kB / 402 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.928e-06/0.3629, allocations: 0 / 402 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-06/0.3629, allocations: 3.938 kB / 402.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001406/0.3631, allocations: 81.41 kB / 402.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.823e-05/0.3632, allocations: 89.02 kB / 402.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3632, allocations: 0 / 402.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.3633, allocations: 4 kB / 402.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.3633, allocations: 11.89 kB / 402.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3634, allocations: 3.812 kB / 402.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.00018/0.3635, allocations: 157.8 kB / 402.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.3639, allocations: 8 kB / 402.4 MB, free: 12.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001365/0.364, allocations: 103.2 kB / 402.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.002e-05/0.3641, allocations: 23.73 kB / 402.5 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.339e-06/0.3641, allocations: 0 / 402.5 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.307e-05/0.3642, allocations: 7.688 kB / 402.5 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3643, allocations: 11.94 kB / 402.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.3647, allocations: 127.1 kB / 402.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.3651, allocations: 0.7269 MB / 403.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.319e-06/0.3651, allocations: 0 / 403.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of Templates: time 0.003071/0.3682, allocations: 499.4 kB / 403.9 MB, free: 10.61 MB / 330.7 MB