Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") [: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.764/1.764, allocations: 214.7 MB / 221.7 MB, free: 4.992 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.938e-06/8.04e-06, allocations: 0 / 273.6 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.0865, allocations: 49.71 MB / 323.3 MB, free: 15.97 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3142/0.4007, allocations: 116.6 MB / 439.9 MB, free: 7.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.401, allocations: 81.03 kB / 440 MB, free: 7.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.6836/1.085, allocations: 153.9 MB / 0.5799 GB, free: 62.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003269/1.085, allocations: 88.03 kB / 0.58 GB, free: 62.91 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.0135/1.098, allocations: 3.506 MB / 0.5834 GB, free: 61.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.099, allocations: 9.625 kB / 0.5835 GB, free: 61.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008546/1.107, allocations: 0.8835 MB / 0.5843 GB, free: 60.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/1.12, allocations: 3.534 MB / 0.5878 GB, free: 59.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/1.12, allocations: 124.4 kB / 0.5879 GB, free: 59.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001377/1.122, allocations: 214.4 kB / 0.5881 GB, free: 59.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01042/1.132, allocations: 3.432 MB / 0.5914 GB, free: 57.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/1.144, allocations: 4.062 MB / 0.5954 GB, free: 54.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/1.144, allocations: 4 kB / 0.5954 GB, free: 54.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004688/1.144, allocations: 7.906 kB / 0.5954 GB, free: 54.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/1.144, allocations: 155.3 kB / 0.5956 GB, free: 54.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02799/1.172, allocations: 15.01 MB / 0.6102 GB, free: 39.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/1.174, allocations: 1.107 MB / 0.6113 GB, free: 38.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/1.177, allocations: 1.35 MB / 0.6126 GB, free: 36.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00867/1.186, allocations: 4.359 MB / 0.6169 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/1.186, allocations: 48.56 kB / 0.6169 GB, free: 32.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=167): time 4.796e-06/1.186, allocations: 0 / 0.6169 GB, free: 32.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=210): time 0.01673/1.202, allocations: 6.224 MB / 0.623 GB, free: 26.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.202, allocations: 77.41 kB / 0.6231 GB, free: 25.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002507/1.205, allocations: 1.361 MB / 0.6244 GB, free: 24.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/1.205, allocations: 29.7 kB / 0.6244 GB, free: 24.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/1.206, allocations: 1.359 MB / 0.6258 GB, free: 23.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005407/1.206, allocations: 0.6813 MB / 0.6264 GB, free: 22.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/1.206, allocations: 0 / 0.6264 GB, free: 22.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/1.207, allocations: 402.8 kB / 0.6268 GB, free: 22.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/1.208, allocations: 0.8757 MB / 0.6277 GB, free: 21.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/1.21, allocations: 1.544 MB / 0.6292 GB, free: 19.38 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.01163/1.222, allocations: 2.627 MB / 0.6317 GB, free: 16.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/1.222, allocations: 8 kB / 0.6317 GB, free: 16.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.007592/1.23, allocations: 3.057 MB / 0.6347 GB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.23, allocations: 7.125 kB / 0.6347 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/1.23, allocations: 20 kB / 0.6348 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/1.231, allocations: 0.5184 MB / 0.6353 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/1.234, allocations: 0.4993 MB / 0.6357 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009245/1.243, allocations: 6.261 MB / 0.6419 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/1.246, allocations: 51.81 kB / 0.6419 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004321/1.246, allocations: 100 kB / 0.642 GB, free: 6 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: 97 * 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 (267): * Single equations (assignments): 264 * 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%) 42,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005072/1.247, allocations: 164.2 kB / 0.6422 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005423/1.247, allocations: 213.5 kB / 0.6424 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006034/1.253, allocations: 2.531 MB / 0.6448 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/1.254, allocations: 24 kB / 0.6449 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.254, allocations: 4 kB / 0.6449 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/1.254, allocations: 15.95 kB / 0.6449 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/1.267, allocations: 5.773 MB / 0.6505 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.267, allocations: 288 / 0.6505 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.269, allocations: 339.5 kB / 0.6508 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/1.271, allocations: 440.3 kB / 0.6513 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/1.271, allocations: 23.92 kB / 0.6513 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009881/1.281, allocations: 4.912 MB / 0.6561 GB, free: 7.395 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.805e-06/1.281, allocations: 0 / 0.6561 GB, free: 7.395 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009339/1.291, allocations: 3.98 MB / 0.66 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/1.293, allocations: 0.4905 MB / 0.6604 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/1.295, allocations: 12 kB / 0.6605 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/1.297, allocations: 35.97 kB / 0.6605 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005628/1.298, allocations: 117.7 kB / 0.6606 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003703/1.298, allocations: 55.98 kB / 0.6607 GB, free: 2.602 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.003254/1.302, allocations: 1.004 MB / 0.6616 GB, free: 1.605 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003362/1.305, allocations: 0.6172 MB / 0.6622 GB, free: 0.9883 MB / 442.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,pin1.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 (166): * Single equations (assignments): 165 * 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%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007138/1.306, allocations: 351 kB / 0.6626 GB, free: 0.668 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005813/1.312, allocations: 2.649 MB / 0.6652 GB, free: 13.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.058e-06/1.312, allocations: 4 kB / 0.6652 GB, free: 13.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003214/1.315, allocations: 1.315 MB / 0.6665 GB, free: 12.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/1.318, allocations: 401.7 kB / 0.6668 GB, free: 12.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.335, allocations: 5.224 MB / 0.6719 GB, free: 6.938 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004892/1.34, allocations: 2.702 MB / 0.6746 GB, free: 4.203 MB / 458.7 MB Notification: Performance of SimCode: time 1.858e-06/1.34, allocations: 0 / 0.6746 GB, free: 4.203 MB / 458.7 MB Notification: Performance of Templates: time 0.2235/1.564, allocations: 32.37 MB / 0.7062 GB, free: 147.7 MB / 458.7 MB