Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.752e-05, allocations: 3.906 kB / 258.8 MB, free: 8.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3107, allocations: 44.5 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004526/0.3152, allocations: 2.591 MB / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.3182, allocations: 1.063 MB / 307 MB, free: 9.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.3185, allocations: 14.41 kB / 307 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.3189, allocations: 69.84 kB / 307 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.32, allocations: 280.7 kB / 307.3 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.3207, allocations: 200.8 kB / 307.5 MB, free: 9.395 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.3214, allocations: 238.3 kB / 307.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.3217, allocations: 86.31 kB / 307.8 MB, free: 9.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.322, allocations: 123.7 kB / 307.9 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.3223, allocations: 143.5 kB / 308.1 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.3228, allocations: 111.8 kB / 308.2 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.3229, allocations: 20 kB / 308.2 MB, free: 8.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.3229, allocations: 51.77 kB / 308.3 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.822e-05/0.3231, allocations: 32 kB / 308.3 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.3237, allocations: 384.8 kB / 308.7 MB, free: 8.289 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3238, allocations: 0 / 308.7 MB, free: 8.289 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3238, allocations: 0 / 308.7 MB, free: 8.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3238, allocations: 4 kB / 308.7 MB, free: 8.285 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001886/0.3257, allocations: 0.6554 MB / 309.3 MB, free: 7.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3258, allocations: 8.031 kB / 309.3 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008977/0.3267, allocations: 95.47 kB / 309.4 MB, free: 7.477 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/0.3273, allocations: 307.2 kB / 309.7 MB, free: 7.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.3273, allocations: 21 kB / 309.8 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.512e-05/0.3274, allocations: 36 kB / 309.8 MB, free: 7.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/0.3284, allocations: 353.3 kB / 310.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.3284, allocations: 3.984 kB / 310.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.3285, allocations: 16 kB / 310.2 MB, free: 6.707 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3285, allocations: 11.94 kB / 310.2 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008172/0.3293, allocations: 250.1 kB / 310.4 MB, free: 6.449 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.3326, allocations: 1.373 MB / 311.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005795/0.3332, allocations: 177.2 kB / 312 MB, free: 4.781 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.3345, allocations: 0.8674 MB / 312.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3346, allocations: 38.52 kB / 312.9 MB, free: 3.766 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 4.809e-06/0.3346, allocations: 4 kB / 312.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007997/0.3354, allocations: 205.2 kB / 313.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3355, allocations: 77.11 kB / 313.1 MB, free: 3.461 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.3359, allocations: 258 kB / 313.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.3359, allocations: 25.7 kB / 313.4 MB, free: 3.176 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.3362, allocations: 305.8 kB / 313.7 MB, free: 2.875 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.3362, allocations: 39.36 kB / 313.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.3363, allocations: 12 kB / 313.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3364, allocations: 318.8 kB / 314.1 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.3367, allocations: 59.97 kB / 314.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.3371, allocations: 202.8 kB / 314.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.3374, allocations: 87.92 kB / 314.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3374, allocations: 0 / 314.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008044/0.3382, allocations: 297.5 kB / 314.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.3383, allocations: 7.953 kB / 314.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.3383, allocations: 4 kB / 314.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3383, allocations: 8 kB / 314.7 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.3388, allocations: 75.89 kB / 314.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.3388, allocations: 7.938 kB / 314.8 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.3392, allocations: 35.69 kB / 314.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.3392, allocations: 20.09 kB / 314.9 MB, free: 1.648 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.3395, allocations: 157.6 kB / 315 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.3396, allocations: 23.72 kB / 315 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.555e-05/0.3396, allocations: 33.69 kB / 315.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3397, allocations: 0 / 315.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3397, allocations: 0 / 315.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3397, allocations: 0 / 315.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3407, allocations: 0.4952 MB / 315.6 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.3407, allocations: 7.938 kB / 315.6 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.3411, allocations: 43.92 kB / 315.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.3411, allocations: 4 kB / 315.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3412, allocations: 0 / 315.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3412, allocations: 0 / 315.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3412, allocations: 4 kB / 315.6 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.342, allocations: 426.8 kB / 316 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3421, allocations: 104.8 kB / 316.1 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.3422, allocations: 7.938 kB / 316.2 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.3425, allocations: 16.3 kB / 316.2 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.3426, allocations: 11.98 kB / 316.2 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3426, allocations: 8.062 kB / 316.2 MB, free: 204 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002926/0.3429, allocations: 198 kB / 316.4 MB, free: 4 kB / 250.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.343, allocations: 0 / 316.4 MB, free: 4 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006014/0.3436, allocations: 83.73 kB / 316.5 MB, free: 15.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001912/0.3438, allocations: 107.2 kB / 316.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.3444, allocations: 175.7 kB / 316.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3444, allocations: 1.125 kB / 316.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.3447, allocations: 67.97 kB / 316.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3451, allocations: 24.84 kB / 316.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.3468, allocations: 0.816 MB / 317.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.3472, allocations: 0.7794 MB / 318.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3474, allocations: 23.44 kB / 318.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of SimCode: time 1.442e-06/0.3474, allocations: 192 / 318.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of Templates: time 0.008163/0.3556, allocations: 3.226 MB / 321.7 MB, free: 10.63 MB / 266.7 MB