Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.017e-05, allocations: 7.906 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3037, allocations: 44.51 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump): time 0.02339/0.3271, allocations: 13.47 MB / 316.8 MB, free: 208 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.3412, allocations: 4.931 MB / 321.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003429/0.3447, allocations: 127.6 kB / 321.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.3485, allocations: 0.8272 MB / 322.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006917/0.3554, allocations: 1.386 MB / 324 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.3596, allocations: 0.7874 MB / 324.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008264/0.3679, allocations: 2.785 MB / 327.6 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005008/0.3729, allocations: 2.051 MB / 329.7 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.3765, allocations: 1.36 MB / 331 MB, free: 1.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004076/0.3806, allocations: 1.693 MB / 332.7 MB, free: 192 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.3831, allocations: 335.8 kB / 333 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.3845, allocations: 164 kB / 333.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.3865, allocations: 0.8796 MB / 334.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.3884, allocations: 384 kB / 334.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.3999, allocations: 6.716 MB / 341.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3999, allocations: 0 / 341.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4, allocations: 0 / 341.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002661/0.4002, allocations: 0 / 341.2 MB, free: 7.707 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1063 * Number of variables: 1063 Notification: Performance of Generate backend data structure: time 0.01778/0.418, allocations: 4.387 MB / 345.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4181, allocations: 8.031 kB / 345.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00904/0.4271, allocations: 1.029 MB / 346.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.4373, allocations: 2.811 MB / 349.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007444/0.4381, allocations: 478.4 kB / 349.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/0.4399, allocations: 407.8 kB / 350.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.4591, allocations: 5.278 MB / 355.6 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/0.4594, allocations: 7.906 kB / 355.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/0.4606, allocations: 172 kB / 355.7 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002765/0.4609, allocations: 172.1 kB / 355.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/0.4771, allocations: 4.506 MB / 360.4 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05225/0.5294, allocations: 17.71 MB / 378.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.543, allocations: 8.175 MB / 386.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/0.558, allocations: 4.602 MB / 390.9 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00387/0.5619, allocations: 1.296 MB / 392.2 MB, free: 2.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=184): time 6.983e-06/0.562, allocations: 0 / 392.2 MB, free: 2.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=217): time 0.03656/0.5986, allocations: 9.048 MB / 401.2 MB, free: 9.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002485/0.5989, allocations: 342.4 kB / 401.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006369/0.6053, allocations: 2.152 MB / 403.7 MB, free: 6.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005336/0.6058, allocations: 73.7 kB / 403.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002413/0.6083, allocations: 1.758 MB / 405.5 MB, free: 5.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/0.6096, allocations: 0.7241 MB / 406.3 MB, free: 4.379 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.6099, allocations: 60 kB / 406.3 MB, free: 4.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003058/0.6103, allocations: 412 kB / 406.7 MB, free: 3.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/0.6138, allocations: 1.129 MB / 407.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/0.6182, allocations: 1.874 MB / 409.7 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004171/0.6224, allocations: 1.408 MB / 411.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-05/0.6225, allocations: 11.98 kB / 411.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=329) (initialization): time 0.01305/0.6355, allocations: 4.033 MB / 415.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003768/0.6394, allocations: 7.592 MB / 422.8 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.122e-05/0.6395, allocations: 20 kB / 422.8 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004801/0.6443, allocations: 1.063 MB / 423.9 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/0.6483, allocations: 483.2 kB / 424.3 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2868/0.9352, allocations: 15.02 MB / 439.4 MB, free: 91.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/0.939, allocations: 162.9 kB / 439.5 MB, free: 91.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004691/0.9395, allocations: 110.3 kB / 439.6 MB, free: 91.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.9395, allocations: 7.281 kB / 439.6 MB, free: 91.62 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01082/0.9504, allocations: 3.911 MB / 443.5 MB, free: 89.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-05/0.9505, allocations: 20.88 kB / 443.6 MB, free: 89.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003764/0.9543, allocations: 1.047 MB / 444.6 MB, free: 89.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003566/0.9579, allocations: 480.1 kB / 445.1 MB, free: 89.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/0.9793, allocations: 15.01 MB / 460.1 MB, free: 77.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/0.9819, allocations: 153.5 kB / 460.2 MB, free: 76.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/0.9823, allocations: 108 kB / 460.3 MB, free: 76.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * 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: 6 * 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: 3 {(2,100.0%) 22,(3,100.0%) 26,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003358/0.9856, allocations: 1.248 MB / 461.6 MB, free: 75.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008702/0.9865, allocations: 278.8 kB / 461.9 MB, free: 75.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.997, allocations: 3.5 MB / 465.4 MB, free: 71.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/0.9971, allocations: 27.95 kB / 465.4 MB, free: 71.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.9971, allocations: 0 / 465.4 MB, free: 71.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.071e-05/0.9971, allocations: 11.95 kB / 465.4 MB, free: 71.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01849/1.016, allocations: 7.376 MB / 472.8 MB, free: 64.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/1.016, allocations: 0 / 472.8 MB, free: 64.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/1.018, allocations: 301.5 kB / 473.1 MB, free: 64.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004434/1.023, allocations: 1.093 MB / 474.2 MB, free: 63.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/1.023, allocations: 63.95 kB / 474.2 MB, free: 63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02156/1.045, allocations: 12.58 MB / 486.8 MB, free: 50.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.045, allocations: 192 / 486.8 MB, free: 50.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.057, allocations: 4.973 MB / 491.8 MB, free: 44.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.06, allocations: 0.6102 MB / 492.4 MB, free: 44.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/1.061, allocations: 59.98 kB / 492.5 MB, free: 44.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003258/1.064, allocations: 127.9 kB / 492.6 MB, free: 44.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008617/1.065, allocations: 234.1 kB / 492.8 MB, free: 43.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/1.065, allocations: 63.97 kB / 492.9 MB, free: 43.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00401/1.069, allocations: 1.646 MB / 494.5 MB, free: 42.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.069, allocations: 0 / 494.5 MB, free: 42.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007856/1.077, allocations: 1.468 MB / 496 MB, free: 40.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 {3 60,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000769/1.078, allocations: 198.4 kB / 496.2 MB, free: 40.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01666/1.095, allocations: 6.751 MB / 0.4911 GB, free: 33.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.095, allocations: 0 / 0.4911 GB, free: 33.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005611/1.1, allocations: 2.178 MB / 0.4933 GB, free: 31.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004802/1.105, allocations: 0.6109 MB / 0.4939 GB, free: 30.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.128, allocations: 9.336 MB / 0.503 GB, free: 21.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004088/1.132, allocations: 2.858 MB / 0.5058 GB, free: 18.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/1.133, allocations: 187.4 kB / 0.506 GB, free: 18.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.133e-06/1.133, allocations: 4 kB / 0.506 GB, free: 18.35 MB / 362.7 MB Notification: Performance of Templates: time 0.5283/1.661, allocations: 157.5 MB / 0.6598 GB, free: 57.25 MB / 410.7 MB