Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.936e-05, allocations: 4 kB / 292.2 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.091/0.09105, allocations: 50.41 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4305/0.5215, allocations: 116.1 MB / 458.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/0.522, allocations: 87.33 kB / 458.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2689/0.7909, allocations: 62.73 MB / 0.5093 GB, free: 15.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.333e-06/0.791, allocations: 0 / 0.5093 GB, free: 15.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002975/0.7913, allocations: 79.94 kB / 0.5094 GB, free: 15.37 MB / 442.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.008873/0.8002, allocations: 3.022 MB / 0.5123 GB, free: 12.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.8002, allocations: 16.03 kB / 0.5123 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.8028, allocations: 479.5 kB / 0.5128 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006132/0.809, allocations: 2.061 MB / 0.5148 GB, free: 9.684 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/0.8094, allocations: 391.8 kB / 0.5152 GB, free: 9.262 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007132/0.8102, allocations: 287.9 kB / 0.5155 GB, free: 8.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009241/0.8194, allocations: 3.549 MB / 0.5189 GB, free: 5.285 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.8196, allocations: 7.984 kB / 0.5189 GB, free: 5.277 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004444/0.82, allocations: 124 kB / 0.519 GB, free: 5.156 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.8202, allocations: 109.5 kB / 0.5191 GB, free: 5.047 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007773/0.828, allocations: 2.783 MB / 0.5219 GB, free: 2.258 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3059/1.134, allocations: 11.96 MB / 0.5335 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004066/1.138, allocations: 2.767 MB / 0.5362 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/1.14, allocations: 1.103 MB / 0.5373 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/1.141, allocations: 140.5 kB / 0.5375 GB, free: 100.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002271/1.143, allocations: 1.124 MB / 0.5386 GB, free: 100.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 5.977e-06/1.143, allocations: 0 / 0.5386 GB, free: 100.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.02324/1.166, allocations: 8.011 MB / 0.5464 GB, free: 99.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/1.166, allocations: 311.7 kB / 0.5467 GB, free: 99.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/1.17, allocations: 1.839 MB / 0.5485 GB, free: 99.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003372/1.17, allocations: 58.86 kB / 0.5485 GB, free: 99.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/1.172, allocations: 1.372 MB / 0.5499 GB, free: 98.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007102/1.172, allocations: 0.604 MB / 0.5505 GB, free: 98.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/1.173, allocations: 41.19 kB / 0.5505 GB, free: 98.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/1.173, allocations: 391.1 kB / 0.5509 GB, free: 98.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/1.175, allocations: 1.005 MB / 0.5519 GB, free: 98.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/1.177, allocations: 1.535 MB / 0.5534 GB, free: 97.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/1.179, allocations: 1.219 MB / 0.5545 GB, free: 97.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/1.179, allocations: 3.312 kB / 0.5545 GB, free: 97.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007682/1.187, allocations: 3.542 MB / 0.558 GB, free: 96.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001046/1.188, allocations: 5.399 MB / 0.5633 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/1.188, allocations: 21.69 kB / 0.5633 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003918/1.192, allocations: 1.184 MB / 0.5645 GB, free: 90.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.194, allocations: 384.8 kB / 0.5648 GB, free: 90.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/1.213, allocations: 14.56 MB / 0.579 GB, free: 80.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/1.216, allocations: 176.3 kB / 0.5792 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003411/1.216, allocations: 81.36 kB / 0.5793 GB, free: 80.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/1.216, allocations: 3.562 kB / 0.5793 GB, free: 80.28 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007031/1.223, allocations: 3.306 MB / 0.5825 GB, free: 79.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/1.223, allocations: 14.91 kB / 0.5825 GB, free: 79.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003868/1.227, allocations: 1.188 MB / 0.5837 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/1.229, allocations: 377.9 kB / 0.5841 GB, free: 78.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/1.247, allocations: 14.54 MB / 0.5983 GB, free: 68.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/1.25, allocations: 165.7 kB / 0.5984 GB, free: 68.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003861/1.25, allocations: 89.83 kB / 0.5985 GB, free: 68.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (212): * Single equations (assignments): 205 * 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%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005736/1.251, allocations: 242 kB / 0.5987 GB, free: 67.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006425/1.251, allocations: 238.7 kB / 0.599 GB, free: 67.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007938/1.259, allocations: 3.406 MB / 0.6023 GB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/1.259, allocations: 17.62 kB / 0.6023 GB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.139e-06/1.259, allocations: 0 / 0.6023 GB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/1.26, allocations: 9.188 kB / 0.6023 GB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/1.274, allocations: 6.678 MB / 0.6088 GB, free: 63.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.274, allocations: 3.875 kB / 0.6088 GB, free: 63.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/1.276, allocations: 199.2 kB / 0.609 GB, free: 63.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004877/1.28, allocations: 1.402 MB / 0.6104 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/1.281, allocations: 49.34 kB / 0.6104 GB, free: 63.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/1.301, allocations: 14.69 MB / 0.6248 GB, free: 51.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/1.301, allocations: 3.281 kB / 0.6248 GB, free: 51.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008941/1.31, allocations: 4.877 MB / 0.6295 GB, free: 47.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.312, allocations: 0.5372 MB / 0.6301 GB, free: 46.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/1.312, allocations: 58.81 kB / 0.6301 GB, free: 46.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.314, allocations: 137.3 kB / 0.6303 GB, free: 46.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005771/1.315, allocations: 223.3 kB / 0.6305 GB, free: 46.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.315, allocations: 51.66 kB / 0.6305 GB, free: 46.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00248/1.317, allocations: 1.412 MB / 0.6319 GB, free: 45.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.06e-07/1.317, allocations: 0 / 0.6319 GB, free: 45.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004821/1.322, allocations: 1.264 MB / 0.6331 GB, free: 43.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * 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%) 4} * Non-linear torn systems: 4 {7 52,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006663/1.323, allocations: 349.6 kB / 0.6335 GB, free: 43.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0178/1.341, allocations: 6.123 MB / 0.6394 GB, free: 38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/1.341, allocations: 12.06 kB / 0.6395 GB, free: 37.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009239/1.35, allocations: 2.355 MB / 0.6418 GB, free: 35.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005968/1.356, allocations: 0.517 MB / 0.6423 GB, free: 35.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/1.373, allocations: 5.164 MB / 0.6473 GB, free: 30.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002513/1.375, allocations: 2.318 MB / 0.6496 GB, free: 29.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004103/1.379, allocations: 0.9027 MB / 0.6505 GB, free: 28.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/1.38, allocations: 110.9 kB / 0.6506 GB, free: 28.4 MB / 442.7 MB Notification: Performance of SimCode: time 3.523e-06/1.38, allocations: 0 / 0.6506 GB, free: 28.4 MB / 442.7 MB Notification: Performance of Templates: time 0.4078/1.788, allocations: 50.76 MB / 0.7001 GB, free: 110.3 MB / 458.7 MB