Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") [: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.781/1.781, allocations: 214.7 MB / 221.7 MB, free: 5.152 MB / 186.9 MB Notification: Performance of FrontEnd - loaded program: time 1.065e-05/1.075e-05, allocations: 4 kB / 273.6 MB, free: 2.027 MB / 218.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08705/0.08708, allocations: 49.7 MB / 323.3 MB, free: 232 kB / 266.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/0.4025, allocations: 116.6 MB / 439.9 MB, free: 7.645 MB / 362.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4027, allocations: 81.95 kB / 440 MB, free: 7.602 MB / 362.9 MB Notification: Performance of FrontEnd: time 0.6746/1.077, allocations: 153.9 MB / 0.58 GB, free: 78.31 MB / 426.9 MB Notification: Performance of Transformations before backend: time 0.000318/1.078, allocations: 88.31 kB / 0.58 GB, free: 78.29 MB / 426.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01276/1.091, allocations: 3.505 MB / 0.5835 GB, free: 76.38 MB / 426.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.091, allocations: 9.125 kB / 0.5835 GB, free: 76.38 MB / 426.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00827/1.099, allocations: 0.8861 MB / 0.5843 GB, free: 75.94 MB / 426.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/1.11, allocations: 3.535 MB / 0.5878 GB, free: 73.61 MB / 426.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/1.111, allocations: 119.4 kB / 0.5879 GB, free: 73.61 MB / 426.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008942/1.112, allocations: 215.7 kB / 0.5881 GB, free: 73.61 MB / 426.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009839/1.121, allocations: 3.436 MB / 0.5915 GB, free: 71.54 MB / 426.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/1.132, allocations: 4.056 MB / 0.5954 GB, free: 67.36 MB / 426.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/1.132, allocations: 0 / 0.5954 GB, free: 67.36 MB / 426.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004857/1.133, allocations: 7.906 kB / 0.5954 GB, free: 67.35 MB / 426.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/1.133, allocations: 155.3 kB / 0.5956 GB, free: 67.2 MB / 426.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/1.162, allocations: 15.04 MB / 0.6103 GB, free: 51.87 MB / 426.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/1.165, allocations: 1.15 MB / 0.6114 GB, free: 50.72 MB / 426.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002727/1.167, allocations: 1.44 MB / 0.6128 GB, free: 49.28 MB / 426.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009137/1.176, allocations: 4.389 MB / 0.6171 GB, free: 44.79 MB / 426.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/1.177, allocations: 51.88 kB / 0.6171 GB, free: 44.73 MB / 426.9 MB Notification: Performance of pre-optimization done (n=166): time 5.233e-06/1.177, allocations: 0 / 0.6171 GB, free: 44.73 MB / 426.9 MB Notification: Performance of matching and sorting (n=213): time 0.0174/1.194, allocations: 6.37 MB / 0.6234 GB, free: 38.33 MB / 426.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/1.194, allocations: 73.41 kB / 0.6234 GB, free: 38.25 MB / 426.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/1.197, allocations: 1.352 MB / 0.6247 GB, free: 36.89 MB / 426.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0001833/1.197, allocations: 29.7 kB / 0.6248 GB, free: 36.86 MB / 426.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.000635/1.197, allocations: 1.347 MB / 0.6261 GB, free: 35.49 MB / 426.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/1.198, allocations: 0.6889 MB / 0.6268 GB, free: 34.79 MB / 426.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/1.198, allocations: 4 kB / 0.6268 GB, free: 34.79 MB / 426.9 MB Notification: Performance of setup shared object (initialization): time 0.0001554/1.198, allocations: 398.9 kB / 0.6271 GB, free: 34.39 MB / 426.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/1.2, allocations: 0.8757 MB / 0.628 GB, free: 33.52 MB / 426.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/1.202, allocations: 1.521 MB / 0.6295 GB, free: 31.7 MB / 426.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/1.205, allocations: 1.22 MB / 0.6307 GB, free: 30.49 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/1.205, allocations: 4 kB / 0.6307 GB, free: 30.48 MB / 426.9 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.007103/1.212, allocations: 3.147 MB / 0.6338 GB, free: 27.33 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.212, allocations: 12.03 kB / 0.6338 GB, free: 27.32 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/1.212, allocations: 27.92 kB / 0.6338 GB, free: 27.29 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/1.214, allocations: 0.658 MB / 0.6344 GB, free: 26.63 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/1.216, allocations: 483.2 kB / 0.6349 GB, free: 26.16 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/1.227, allocations: 7.343 MB / 0.6421 GB, free: 18.59 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/1.23, allocations: 39.8 kB / 0.6421 GB, free: 18.55 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/1.23, allocations: 104 kB / 0.6422 GB, free: 18.45 MB / 426.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 50,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004687/1.231, allocations: 180 kB / 0.6424 GB, free: 18.27 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004978/1.231, allocations: 213.4 kB / 0.6426 GB, free: 18.05 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00624/1.238, allocations: 2.598 MB / 0.6451 GB, free: 15.45 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/1.238, allocations: 20 kB / 0.6451 GB, free: 15.43 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.238, allocations: 11.91 kB / 0.6451 GB, free: 15.42 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/1.238, allocations: 11.95 kB / 0.6452 GB, free: 15.41 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/1.25, allocations: 5.875 MB / 0.6509 GB, free: 9.473 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.25, allocations: 4 kB / 0.6509 GB, free: 9.469 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.252, allocations: 327.8 kB / 0.6512 GB, free: 9.148 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/1.254, allocations: 0.5199 MB / 0.6517 GB, free: 8.625 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/1.254, allocations: 28.11 kB / 0.6517 GB, free: 8.598 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009539/1.264, allocations: 5.632 MB / 0.6572 GB, free: 2.852 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.008e-06/1.264, allocations: 3.938 kB / 0.6573 GB, free: 2.848 MB / 426.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00859/1.272, allocations: 4.066 MB / 0.6612 GB, free: 14.69 MB / 442.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/1.274, allocations: 0.4944 MB / 0.6617 GB, free: 14.18 MB / 442.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006935/1.275, allocations: 8 kB / 0.6617 GB, free: 14.17 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.277, allocations: 35.97 kB / 0.6617 GB, free: 14.14 MB / 442.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003605/1.277, allocations: 121.7 kB / 0.6619 GB, free: 14.02 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.277, allocations: 60.11 kB / 0.6619 GB, free: 13.96 MB / 442.9 MB Notification: Performance of sort global known variables: time 0.002305/1.28, allocations: 0.9999 MB / 0.6629 GB, free: 12.97 MB / 442.9 MB Notification: Performance of remove unused functions: time 0.003483/1.283, allocations: 0.6328 MB / 0.6635 GB, free: 12.34 MB / 442.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,pin2.pin_p.i,pin3.pin_p.i) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 160 * 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 {(3,100.0%) 50} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007143/1.284, allocations: 330.8 kB / 0.6638 GB, free: 12.03 MB / 442.9 MB Notification: Performance of simCode: created initialization part: time 0.006178/1.29, allocations: 2.719 MB / 0.6665 GB, free: 9.266 MB / 442.9 MB Notification: Performance of simCode: created event and clocks part: time 7.943e-06/1.29, allocations: 4 kB / 0.6665 GB, free: 9.262 MB / 442.9 MB Notification: Performance of simCode: created simulation system equations: time 0.00328/1.293, allocations: 1.36 MB / 0.6678 GB, free: 7.902 MB / 442.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.296, allocations: 397.5 kB / 0.6682 GB, free: 7.512 MB / 442.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/1.311, allocations: 5.318 MB / 0.6734 GB, free: 2.102 MB / 442.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1376/1.449, allocations: 2.693 MB / 0.676 GB, free: 135.1 MB / 442.9 MB Notification: Performance of SimCode: time 2.08e-06/1.449, allocations: 3.5 kB / 0.676 GB, free: 135.1 MB / 442.9 MB Notification: Performance of Templates: time 0.08492/1.534, allocations: 33.44 MB / 0.7087 GB, free: 133.7 MB / 442.9 MB