Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") [: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.797/1.797, allocations: 214.7 MB / 221.7 MB, free: 4.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.909e-06, allocations: 0 / 273.6 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 49.72 MB / 323.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4369/0.5433, allocations: 116.6 MB / 439.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.5435, allocations: 74.08 kB / 440 MB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.678/1.222, allocations: 153.9 MB / 0.5799 GB, free: 78.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003445/1.222, allocations: 87.91 kB / 0.58 GB, free: 78.35 MB / 426.7 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.01328/1.235, allocations: 3.507 MB / 0.5835 GB, free: 76.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.235, allocations: 8.938 kB / 0.5835 GB, free: 76.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008523/1.244, allocations: 0.8909 MB / 0.5843 GB, free: 75.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/1.256, allocations: 3.526 MB / 0.5878 GB, free: 73.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/1.256, allocations: 123.7 kB / 0.5879 GB, free: 73.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/1.258, allocations: 217.1 kB / 0.5881 GB, free: 73.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01031/1.268, allocations: 3.432 MB / 0.5915 GB, free: 71.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/1.28, allocations: 4.038 MB / 0.5954 GB, free: 66.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/1.281, allocations: 11.98 kB / 0.5954 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005085/1.281, allocations: 15.84 kB / 0.5954 GB, free: 66.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/1.281, allocations: 151.3 kB / 0.5956 GB, free: 66.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03215/1.313, allocations: 14.8 MB / 0.61 GB, free: 51.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/1.316, allocations: 1.053 MB / 0.611 GB, free: 50.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/1.318, allocations: 1.286 MB / 0.6123 GB, free: 49.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009298/1.328, allocations: 4.2 MB / 0.6164 GB, free: 44.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.328, allocations: 47.88 kB / 0.6164 GB, free: 44.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=157): time 5.762e-06/1.328, allocations: 0 / 0.6164 GB, free: 44.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.01745/1.345, allocations: 5.75 MB / 0.6221 GB, free: 39.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/1.345, allocations: 69.41 kB / 0.6221 GB, free: 39.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/1.348, allocations: 1.373 MB / 0.6235 GB, free: 37.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003076/1.348, allocations: 29.7 kB / 0.6235 GB, free: 37.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007257/1.349, allocations: 1.374 MB / 0.6248 GB, free: 36.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006009/1.35, allocations: 0.6273 MB / 0.6255 GB, free: 35.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/1.35, allocations: 0 / 0.6255 GB, free: 35.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/1.35, allocations: 406.6 kB / 0.6258 GB, free: 35.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/1.352, allocations: 0.817 MB / 0.6266 GB, free: 34.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/1.354, allocations: 1.495 MB / 0.6281 GB, free: 32.57 MB / 426.7 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/1.368, allocations: 3.329 MB / 0.6314 GB, free: 29.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/1.368, allocations: 4 kB / 0.6314 GB, free: 29.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.007301/1.375, allocations: 2.825 MB / 0.6341 GB, free: 26.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.375, allocations: 11.22 kB / 0.6341 GB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/1.375, allocations: 24 kB / 0.6341 GB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/1.376, allocations: 361.5 kB / 0.6345 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/1.379, allocations: 0.5304 MB / 0.635 GB, free: 25.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/1.386, allocations: 3.873 MB / 0.6388 GB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/1.388, allocations: 35.89 kB / 0.6388 GB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004035/1.389, allocations: 111.9 kB / 0.6389 GB, free: 21.35 MB / 426.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: smee.is[2] = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (270): * Single equations (assignments): 268 * 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: 1 * 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: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004991/1.389, allocations: 176.2 kB / 0.6391 GB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005477/1.39, allocations: 209.5 kB / 0.6393 GB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005692/1.396, allocations: 2.269 MB / 0.6415 GB, free: 18.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/1.396, allocations: 20 kB / 0.6415 GB, free: 18.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.396, allocations: 7.906 kB / 0.6415 GB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/1.396, allocations: 11.95 kB / 0.6416 GB, free: 18.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/1.408, allocations: 5.39 MB / 0.6468 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/1.408, allocations: 4 kB / 0.6468 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/1.41, allocations: 343.8 kB / 0.6472 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/1.411, allocations: 320.5 kB / 0.6475 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/1.412, allocations: 16 kB / 0.6475 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/1.418, allocations: 3.843 MB / 0.6512 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.074e-06/1.418, allocations: 4 kB / 0.6512 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007161/1.425, allocations: 3.629 MB / 0.6548 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/1.427, allocations: 482.4 kB / 0.6552 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005326/1.427, allocations: 8 kB / 0.6552 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.429, allocations: 35.97 kB / 0.6553 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/1.429, allocations: 109.7 kB / 0.6554 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.429, allocations: 51.98 kB / 0.6554 GB, free: 4.152 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002005/1.431, allocations: 1.012 MB / 0.6564 GB, free: 3.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00351/1.435, allocations: 0.6054 MB / 0.657 GB, free: 2.543 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,ground.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 (164): * Single equations (assignments): 163 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006999/1.435, allocations: 343.2 kB / 0.6573 GB, free: 2.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004847/1.44, allocations: 2.351 MB / 0.6596 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.44, allocations: 0 / 0.6596 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/1.443, allocations: 1.174 MB / 0.6608 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/1.446, allocations: 397.7 kB / 0.6612 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/1.463, allocations: 5.102 MB / 0.6661 GB, free: 9.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00546/1.468, allocations: 2.677 MB / 0.6688 GB, free: 6.359 MB / 442.7 MB Notification: Performance of SimCode: time 4.067e-06/1.468, allocations: 0 / 0.6688 GB, free: 6.359 MB / 442.7 MB Notification: Performance of Templates: time 0.2183/1.686, allocations: 30.56 MB / 0.6986 GB, free: 133.2 MB / 442.7 MB