Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 2.125/2.125, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.872e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 50.42 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump): time 0.01642/0.1285, allocations: 9.734 MB / 354.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009841/0.1384, allocations: 3.681 MB / 358.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/0.1408, allocations: 91.69 kB / 358.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.1435, allocations: 0.6059 MB / 359.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.1479, allocations: 0.8527 MB / 360 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.1503, allocations: 411.4 kB / 360.4 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005318/0.1556, allocations: 1.842 MB / 362.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.1589, allocations: 1.476 MB / 363.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.1615, allocations: 1.001 MB / 364.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.1645, allocations: 1.289 MB / 366 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.1661, allocations: 195.9 kB / 366.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008736/0.167, allocations: 128 kB / 366.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.1684, allocations: 0.7943 MB / 367.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.1697, allocations: 291.9 kB / 367.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007048/0.1768, allocations: 4.375 MB / 371.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1768, allocations: 0 / 371.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.801e-06/0.1769, allocations: 0 / 371.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001941/0.1771, allocations: 7.938 kB / 371.7 MB, free: 14.09 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: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.01106/0.1881, allocations: 3.006 MB / 374.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.1882, allocations: 8.031 kB / 374.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003766/0.192, allocations: 479.5 kB / 375.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008903/0.201, allocations: 1.971 MB / 377.2 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000607/0.2016, allocations: 379.9 kB / 377.6 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.2029, allocations: 291.9 kB / 377.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.2187, allocations: 3.668 MB / 381.5 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/0.2189, allocations: 7.938 kB / 381.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006297/0.2195, allocations: 120 kB / 381.6 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002475/0.2198, allocations: 117.5 kB / 381.8 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.2327, allocations: 3.074 MB / 384.8 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04164/0.2744, allocations: 11.94 MB / 396.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005972/0.2804, allocations: 2.83 MB / 399.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004683/0.2809, allocations: 126.4 kB / 399.7 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003333/0.2843, allocations: 1.159 MB / 400.9 MB, free: 60 kB / 330.7 MB Notification: Performance of pre-optimization done (n=153): time 5.991e-06/0.2844, allocations: 0 / 400.9 MB, free: 60 kB / 330.7 MB Notification: Performance of matching and sorting (n=173): time 0.3351/0.6194, allocations: 9.42 MB / 410.3 MB, free: 45.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.6196, allocations: 310.8 kB / 410.6 MB, free: 45.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005021/0.6247, allocations: 1.854 MB / 412.5 MB, free: 44.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004102/0.6251, allocations: 65.45 kB / 412.5 MB, free: 44.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.6264, allocations: 1.292 MB / 413.8 MB, free: 43.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008411/0.6272, allocations: 0.5729 MB / 414.4 MB, free: 42.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.6275, allocations: 43.78 kB / 414.4 MB, free: 42.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6276, allocations: 391.5 kB / 414.8 MB, free: 42.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/0.6305, allocations: 1.037 MB / 415.9 MB, free: 42.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.6338, allocations: 1.591 MB / 417.4 MB, free: 41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003375/0.6373, allocations: 1.248 MB / 418.7 MB, free: 40.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-05/0.6373, allocations: 4.125 kB / 418.7 MB, free: 40.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.009473/0.6468, allocations: 3.458 MB / 422.2 MB, free: 38.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.648, allocations: 5.409 MB / 427.6 MB, free: 33.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.471e-05/0.6481, allocations: 15.69 kB / 427.6 MB, free: 33.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004525/0.6526, allocations: 1.137 MB / 428.7 MB, free: 32.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/0.6554, allocations: 387.6 kB / 429.1 MB, free: 32.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/0.6759, allocations: 14.3 MB / 443.4 MB, free: 17.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/0.6795, allocations: 175.8 kB / 443.6 MB, free: 17.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/0.6799, allocations: 84.08 kB / 443.7 MB, free: 17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.68, allocations: 4 kB / 443.7 MB, free: 17 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008506/0.6885, allocations: 3.346 MB / 447 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.456e-05/0.6886, allocations: 20.02 kB / 447 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003737/0.6923, allocations: 1.097 MB / 448.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.6951, allocations: 382.1 kB / 448.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02141/0.7166, allocations: 14.41 MB / 462.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.719, allocations: 155.9 kB / 463.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/0.7194, allocations: 83.5 kB / 463.1 MB, free: 12.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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 (214): * Single equations (assignments): 207 * 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 {(4,100.0%) 14,(3,100.0%) 21,(2,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002887/0.7223, allocations: 0.8993 MB / 464 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009419/0.7232, allocations: 241.2 kB / 464.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.7349, allocations: 3.389 MB / 467.7 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.735, allocations: 20 kB / 467.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.735, allocations: 0 / 467.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.447e-05/0.735, allocations: 7.969 kB / 467.7 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02125/0.7563, allocations: 6.641 MB / 474.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/0.7564, allocations: 4 kB / 474.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.7582, allocations: 199.7 kB / 474.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006237/0.7644, allocations: 1.359 MB / 475.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003685/0.7649, allocations: 47.97 kB / 475.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03064/0.7955, allocations: 14.75 MB / 490.7 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/0.7956, allocations: 11.89 kB / 490.7 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.8101, allocations: 4.807 MB / 495.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/0.8122, allocations: 0.5216 MB / 496 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009872/0.8132, allocations: 51.97 kB / 496.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/0.8162, allocations: 135.8 kB / 496.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009224/0.8172, allocations: 217.6 kB / 496.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/0.8175, allocations: 47.98 kB / 496.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004093/0.8216, allocations: 1.426 MB / 497.9 MB, free: 9.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.202e-06/0.8217, allocations: 0 / 497.9 MB, free: 9.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006978/0.8286, allocations: 1.184 MB / 499.1 MB, free: 7.836 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * 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 (114): * Single equations (assignments): 105 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 4 {7 49,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000757/0.8295, allocations: 182.7 kB / 499.3 MB, free: 7.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01817/0.8476, allocations: 6.221 MB / 0.4936 GB, free: 1.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.8477, allocations: 4 kB / 0.4936 GB, free: 1.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00712/0.8548, allocations: 2.271 MB / 0.4958 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/0.8597, allocations: 0.513 MB / 0.4963 GB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/0.8809, allocations: 7.333 MB / 0.5035 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003512/0.8844, allocations: 2.28 MB / 0.5057 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.8856, allocations: 147.4 kB / 0.5059 GB, free: 4.578 MB / 394.7 MB Notification: Performance of SimCode: time 1.884e-06/0.8856, allocations: 0 / 0.5059 GB, free: 4.578 MB / 394.7 MB Notification: Performance of Templates: time 0.49/1.376, allocations: 116.5 MB / 0.6196 GB, free: 96.2 MB / 442.7 MB