Running command: translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") Notification: Performance of loadModel(HanserModelica): time 2.074/2.074, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.367e-05, allocations: 7.984 kB / 279.5 MB, free: 13.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.0886, allocations: 49.71 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4167/0.5053, allocations: 100.5 MB / 429.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5056, allocations: 70.78 kB / 429.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605/2.11, allocations: 363.2 MB / 0.7743 GB, free: 64.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.28e-06/2.11, allocations: 0 / 0.7743 GB, free: 64.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006349/2.111, allocations: 224.4 kB / 0.7745 GB, free: 64.69 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.04446/2.156, allocations: 10.01 MB / 0.7843 GB, free: 61.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/2.156, allocations: 11.69 kB / 0.7843 GB, free: 61.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03896/2.195, allocations: 5.327 MB / 0.7895 GB, free: 61.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/2.213, allocations: 6.721 MB / 0.7961 GB, free: 59.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001193/2.214, allocations: 0.783 MB / 0.7969 GB, free: 59.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004622/2.219, allocations: 1.009 MB / 0.7978 GB, free: 59.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05123/2.27, allocations: 18.14 MB / 0.8156 GB, free: 46.83 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004363/2.271, allocations: 11.91 kB / 0.8156 GB, free: 46.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003792/2.274, allocations: 445.1 kB / 0.816 GB, free: 46.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009012/2.275, allocations: 0.7218 MB / 0.8167 GB, free: 45.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03818/2.314, allocations: 15.92 MB / 0.8322 GB, free: 31.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4813/2.795, allocations: 53.85 MB / 0.8848 GB, free: 46.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02469/2.82, allocations: 13.81 MB / 0.8983 GB, free: 43.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01803/2.838, allocations: 8.666 MB / 0.9068 GB, free: 43.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/2.839, allocations: 310.9 kB / 0.9071 GB, free: 43.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/2.839, allocations: 122.6 kB / 0.9072 GB, free: 43.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=996): time 3.312e-05/2.839, allocations: 0 / 0.9072 GB, free: 43.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=996): time 0.04024/2.88, allocations: 16.1 MB / 0.9229 GB, free: 42.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/2.88, allocations: 158.6 kB / 0.9231 GB, free: 42.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003975/2.884, allocations: 1.822 MB / 0.9248 GB, free: 42.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001895/2.886, allocations: 159 kB / 0.925 GB, free: 42.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002097/2.888, allocations: 3.199 MB / 0.9281 GB, free: 41.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004702/2.893, allocations: 3.243 MB / 0.9313 GB, free: 39.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001972/2.895, allocations: 141.7 kB / 0.9314 GB, free: 39.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001073/2.896, allocations: 0.6603 MB / 0.9321 GB, free: 38.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01313/2.909, allocations: 5.954 MB / 0.9379 GB, free: 37.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01485/2.924, allocations: 6.809 MB / 0.9445 GB, free: 34.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/2.94, allocations: 7.056 MB / 0.9514 GB, free: 31.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.108e-05/2.94, allocations: 7.125 kB / 0.9514 GB, free: 31.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.04164/2.981, allocations: 16.88 MB / 0.9679 GB, free: 25.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/2.981, allocations: 16.16 kB / 0.9679 GB, free: 25.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-05/2.982, allocations: 16.88 kB / 0.9679 GB, free: 25.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01564/2.997, allocations: 5.617 MB / 0.9734 GB, free: 23.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007631/3.005, allocations: 1.223 MB / 0.9746 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/3.023, allocations: 10.52 MB / 0.9849 GB, free: 17.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/3.034, allocations: 0.8425 MB / 0.9857 GB, free: 17.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003677/3.038, allocations: 291.3 kB / 0.986 GB, free: 17.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (639): * Single equations (assignments): 555 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 80 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,18 144,6 9,11 77} Notification: Performance of prepare postOptimizeDAE: time 0.005879/3.044, allocations: 462 kB / 0.9864 GB, free: 16.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004366/3.048, allocations: 449.7 kB / 0.9869 GB, free: 16.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07112/3.12, allocations: 17.93 MB / 1.004 GB, free: 1.219 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04472/3.164, allocations: 16.43 MB / 1.02 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.37e-05/3.164, allocations: 0.8438 kB / 1.02 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001517/3.165, allocations: 42.33 kB / 1.02 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4036/3.568, allocations: 34.18 MB / 1.054 GB, free: 88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/3.568, allocations: 1.031 kB / 1.054 GB, free: 88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007478/3.576, allocations: 1.095 MB / 1.055 GB, free: 88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01652/3.592, allocations: 5.605 MB / 1.06 GB, free: 87.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002234/3.595, allocations: 207.5 kB / 1.061 GB, free: 87.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01789/3.613, allocations: 10.49 MB / 1.071 GB, free: 85.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/3.613, allocations: 2.156 kB / 1.071 GB, free: 85.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05896/3.672, allocations: 26.42 MB / 1.097 GB, free: 85.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006074/3.678, allocations: 1.998 MB / 1.099 GB, free: 84.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002683/3.681, allocations: 138.1 kB / 1.099 GB, free: 84.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005676/3.686, allocations: 414 kB / 1.099 GB, free: 84.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00302/3.689, allocations: 0.7012 MB / 1.1 GB, free: 84.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002248/3.692, allocations: 263.7 kB / 1.1 GB, free: 84.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00301/3.695, allocations: 1.407 MB / 1.101 GB, free: 84.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.134e-06/3.695, allocations: 0 / 1.101 GB, free: 84.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01081/3.706, allocations: 2.682 MB / 1.104 GB, free: 84.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (main_e.plug_p.reference.gamma,converter_m.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (587): * Single equations (assignments): 503 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 80 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,18 144,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002696/3.708, allocations: 401.7 kB / 1.104 GB, free: 84.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03448/3.743, allocations: 14.56 MB / 1.119 GB, free: 80.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/3.743, allocations: 3.625 kB / 1.119 GB, free: 80.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01991/3.763, allocations: 7.815 MB / 1.126 GB, free: 77.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006585/3.769, allocations: 0.7785 MB / 1.127 GB, free: 77.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05308/3.823, allocations: 20.77 MB / 1.147 GB, free: 68.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01613/3.839, allocations: 7.357 MB / 1.154 GB, free: 63.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0087/3.847, allocations: 1.759 MB / 1.156 GB, free: 61.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002805/3.85, allocations: 343.3 kB / 1.157 GB, free: 61.62 MB / 490.7 MB Notification: Performance of SimCode: time 2.156e-06/3.85, allocations: 2.438 kB / 1.157 GB, free: 61.62 MB / 490.7 MB Notification: Performance of Templates: time 0.5682/4.419, allocations: 126.8 MB / 1.28 GB, free: 81.75 MB / 490.7 MB