Running command: translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") [: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.817/1.817, allocations: 214.7 MB / 221.7 MB, free: 4.996 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.779e-06/1.001e-05, allocations: 4 kB / 273.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.08624, allocations: 49.7 MB / 323.3 MB, free: 16 kB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3158/0.4021, allocations: 80.37 MB / 403.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.4023, allocations: 64.91 kB / 403.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01885/0.4212, allocations: 4.614 MB / 408.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.4213, allocations: 10.41 kB / 408.4 MB, free: 7.07 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009498/0.4222, allocations: 0.5287 MB / 408.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4223, allocations: 8.031 kB / 408.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.4224, allocations: 39.56 kB / 409 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.4228, allocations: 266 kB / 409.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.4229, allocations: 12 kB / 409.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.4229, allocations: 19.62 kB / 409.3 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000444/0.4234, allocations: 158.7 kB / 409.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.4239, allocations: 214.2 kB / 409.6 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.424, allocations: 3.906 kB / 409.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.424, allocations: 0 / 409.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.424, allocations: 12 kB / 409.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.4263, allocations: 1.034 MB / 410.7 MB, free: 4.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.4265, allocations: 84.77 kB / 410.8 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.4266, allocations: 61.02 kB / 410.8 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.4267, allocations: 0 / 410.8 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4267, allocations: 34.56 kB / 410.8 MB, free: 4.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.043e-06/0.4267, allocations: 4 kB / 410.9 MB, free: 4.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001037/0.4278, allocations: 462.1 kB / 411.3 MB, free: 4.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.4278, allocations: 55.41 kB / 411.4 MB, free: 4.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.4281, allocations: 163.5 kB / 411.5 MB, free: 4.172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.4281, allocations: 25.7 kB / 411.5 MB, free: 4.141 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.4282, allocations: 170.9 kB / 411.7 MB, free: 3.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.4283, allocations: 61.22 kB / 411.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.4283, allocations: 0 / 411.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4285, allocations: 333.3 kB / 412.1 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4286, allocations: 45.25 kB / 412.1 MB, free: 3.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.4288, allocations: 81.08 kB / 412.2 MB, free: 3.496 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.4289, allocations: 55.08 kB / 412.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-06/0.429, allocations: 0 / 412.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004766/0.4294, allocations: 186.4 kB / 412.5 MB, free: 3.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4295, allocations: 4 kB / 412.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.674e-06/0.4295, allocations: 4 kB / 412.5 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.4297, allocations: 27.72 kB / 412.5 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.43, allocations: 43.11 kB / 412.5 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.4313, allocations: 1.218 MB / 413.7 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.4315, allocations: 12.17 kB / 413.8 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.4316, allocations: 15.5 kB / 413.8 MB, free: 1.918 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.4317, allocations: 104.9 kB / 413.9 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.4318, allocations: 15.81 kB / 413.9 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.4319, allocations: 20.64 kB / 413.9 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-06/0.4319, allocations: 0 / 413.9 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-06/0.4319, allocations: 4 kB / 413.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.171e-06/0.4319, allocations: 7.922 kB / 413.9 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009546/0.4329, allocations: 0.5182 MB / 414.4 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.043e-06/0.4329, allocations: 4 kB / 414.4 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.4332, allocations: 39.42 kB / 414.5 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.4334, allocations: 24.91 kB / 414.5 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4334, allocations: 3 kB / 414.5 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.4346, allocations: 1.229 MB / 415.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.64e-06/0.4347, allocations: 0 / 415.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005652/0.4352, allocations: 339.5 kB / 416.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.4354, allocations: 96.83 kB / 416.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.4354, allocations: 0 / 416.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.4356, allocations: 11.98 kB / 416.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.4357, allocations: 15.05 kB / 416.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.4357, allocations: 4 kB / 416.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001464/0.4359, allocations: 135.8 kB / 416.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004932/0.4364, allocations: 52 kB / 416.4 MB, free: 15.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (machine.inductor.i,load.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001795/0.4366, allocations: 100 kB / 416.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005002/0.4371, allocations: 215 kB / 416.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.138e-06/0.4371, allocations: 256 / 416.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.4374, allocations: 174.2 kB / 416.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.4378, allocations: 19.67 kB / 416.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.4391, allocations: 484 kB / 417.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/0.4396, allocations: 0.781 MB / 418.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.386e-06/0.4397, allocations: 0 / 418.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of Templates: time 0.007285/0.447, allocations: 2.058 MB / 420.2 MB, free: 11.51 MB / 346.7 MB