Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 2.054/2.054, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.529e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 50.41 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump): time 0.02286/0.132, allocations: 13.47 MB / 358.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.1457, allocations: 5.031 MB / 363.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00353/0.1493, allocations: 131.6 kB / 363.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00371/0.153, allocations: 0.8389 MB / 364.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006744/0.1598, allocations: 1.39 MB / 365.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.1638, allocations: 0.7874 MB / 366.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007926/0.1717, allocations: 2.821 MB / 369.5 MB, free: 412 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004502/0.1763, allocations: 2.118 MB / 371.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.1795, allocations: 1.363 MB / 372.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003954/0.1835, allocations: 1.697 MB / 374.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.186, allocations: 339.7 kB / 375 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.1874, allocations: 164 kB / 375.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001852/0.1893, allocations: 0.8874 MB / 376 MB, free: 9.809 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.1912, allocations: 388 kB / 376.4 MB, free: 9.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.2033, allocations: 6.767 MB / 383.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2034, allocations: 0 / 383.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.2034, allocations: 4 kB / 383.2 MB, free: 2.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003154/0.2037, allocations: 0 / 383.2 MB, free: 2.641 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01765/0.2214, allocations: 4.435 MB / 387.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.2215, allocations: 8.031 kB / 387.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00894/0.2304, allocations: 1.033 MB / 388.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.2405, allocations: 2.955 MB / 391.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000615/0.2412, allocations: 482.5 kB / 392.1 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/0.2428, allocations: 411.9 kB / 392.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.2609, allocations: 5.336 MB / 397.8 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/0.2611, allocations: 11.94 kB / 397.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008787/0.262, allocations: 172 kB / 398 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000264/0.2623, allocations: 172.2 kB / 398.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3072/0.5695, allocations: 4.548 MB / 402.7 MB, free: 43.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04933/0.6189, allocations: 17.98 MB / 420.7 MB, free: 32.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.6306, allocations: 8.202 MB / 428.9 MB, free: 25.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01372/0.6443, allocations: 4.623 MB / 433.5 MB, free: 21.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003374/0.6478, allocations: 1.296 MB / 434.8 MB, free: 20.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=186): time 6.231e-06/0.6478, allocations: 0 / 434.8 MB, free: 20.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=219): time 0.03216/0.68, allocations: 9.428 MB / 444.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.6802, allocations: 342.4 kB / 444.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005311/0.6855, allocations: 2.18 MB / 446.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004659/0.686, allocations: 73.69 kB / 446.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001774/0.6878, allocations: 1.79 MB / 448.6 MB, free: 9.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.6889, allocations: 0.7347 MB / 449.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.6892, allocations: 52 kB / 449.4 MB, free: 8.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.6894, allocations: 412.1 kB / 449.8 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003038/0.6924, allocations: 1.137 MB / 450.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/0.6964, allocations: 1.896 MB / 452.8 MB, free: 4.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/0.7002, allocations: 1.416 MB / 454.2 MB, free: 3.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/0.7003, allocations: 11.94 kB / 454.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.01193/0.7123, allocations: 4.06 MB / 458.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003862/0.7162, allocations: 7.772 MB / 466.1 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.109e-05/0.7163, allocations: 23.98 kB / 466.1 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004662/0.721, allocations: 1.059 MB / 467.2 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003694/0.7247, allocations: 487.2 kB / 467.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02716/0.7519, allocations: 15 MB / 482.6 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00394/0.7559, allocations: 171.9 kB / 482.8 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005587/0.7565, allocations: 112 kB / 482.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.7565, allocations: 4 kB / 482.9 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01237/0.7689, allocations: 3.941 MB / 486.9 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.84e-05/0.7691, allocations: 20 kB / 486.9 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004108/0.7732, allocations: 1.041 MB / 487.9 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/0.7769, allocations: 475.4 kB / 488.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02672/0.8037, allocations: 14.99 MB / 0.4916 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.8064, allocations: 163.8 kB / 0.4917 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004572/0.8069, allocations: 108 kB / 0.4918 GB, free: 15.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition1,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.loadControl.pulseStart,loadControl.pulseStart,$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,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 263 * 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.003918/0.8108, allocations: 1.266 MB / 0.4931 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009214/0.8118, allocations: 280.6 kB / 0.4933 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.8237, allocations: 3.531 MB / 0.4968 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-05/0.8238, allocations: 20 kB / 0.4968 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.8238, allocations: 0 / 0.4968 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.714e-05/0.8239, allocations: 15.95 kB / 0.4968 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/0.846, allocations: 7.434 MB / 0.5041 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/0.8461, allocations: 4.125 kB / 0.5041 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/0.8488, allocations: 295.8 kB / 0.5044 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005015/0.8538, allocations: 1.106 MB / 0.5055 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004334/0.8543, allocations: 55.97 kB / 0.5055 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02687/0.8812, allocations: 12.67 MB / 0.5179 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.8813, allocations: 0 / 0.5179 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/0.896, allocations: 5.006 MB / 0.5228 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0022/0.8983, allocations: 0.603 MB / 0.5234 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/0.8994, allocations: 63.98 kB / 0.5234 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/0.9025, allocations: 131.9 kB / 0.5235 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009672/0.9035, allocations: 245.9 kB / 0.5238 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/0.9038, allocations: 59.98 kB / 0.5238 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004474/0.9082, allocations: 1.67 MB / 0.5255 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.9083, allocations: 0 / 0.5255 GB, free: 12.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007899/0.9162, allocations: 1.473 MB / 0.5269 GB, free: 11.09 MB / 426.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.pulseStart,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[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (153): * Single equations (assignments): 145 * 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 61,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007257/0.917, allocations: 206.8 kB / 0.5271 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01846/0.9355, allocations: 6.786 MB / 0.5337 GB, free: 3.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/0.9355, allocations: 4 kB / 0.5337 GB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006207/0.9418, allocations: 2.181 MB / 0.5359 GB, free: 1.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005022/0.9468, allocations: 0.6205 MB / 0.5365 GB, free: 1.059 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02629/0.9732, allocations: 9.443 MB / 0.5457 GB, free: 7.574 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005661/0.9789, allocations: 2.884 MB / 0.5485 GB, free: 4.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/0.9803, allocations: 187.4 kB / 0.5487 GB, free: 4.477 MB / 442.7 MB Notification: Performance of SimCode: time 1.453e-06/0.9803, allocations: 0 / 0.5487 GB, free: 4.477 MB / 442.7 MB Notification: Performance of Templates: time 0.5368/1.517, allocations: 159 MB / 0.704 GB, free: 0.8203 MB / 442.7 MB