Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=120000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadModel(HanserModelica): time 1.995/1.995, allocations: 214.7 MB / 226.9 MB, free: 1.203 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.515e-05, allocations: 8 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 49.71 MB / 329.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.5699, allocations: 121.5 MB / 450.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.5701, allocations: 75.78 kB / 450.8 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6383/1.208, allocations: 104.2 MB / 0.542 GB, free: 95.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.883e-06/1.208, allocations: 0 / 0.542 GB, free: 95.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000419/1.209, allocations: 106.3 kB / 0.5421 GB, free: 95.6 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: 1073 * Number of variables: 1073 Notification: Performance of Generate backend data structure: time 0.01446/1.223, allocations: 4.187 MB / 0.5462 GB, free: 93.99 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.223, allocations: 11.31 kB / 0.5462 GB, free: 93.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007595/1.231, allocations: 0.9594 MB / 0.5471 GB, free: 93.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/1.244, allocations: 3.97 MB / 0.551 GB, free: 93.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004547/1.244, allocations: 477.5 kB / 0.5514 GB, free: 92.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/1.246, allocations: 412.6 kB / 0.5518 GB, free: 92.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/1.26, allocations: 5.151 MB / 0.5569 GB, free: 92.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/1.26, allocations: 3.719 kB / 0.5569 GB, free: 92.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007491/1.261, allocations: 176 kB / 0.557 GB, free: 92.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/1.261, allocations: 167.3 kB / 0.5572 GB, free: 92.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/1.273, allocations: 4.118 MB / 0.5612 GB, free: 92.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03835/1.311, allocations: 17.96 MB / 0.5787 GB, free: 84.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008278/1.32, allocations: 8.095 MB / 0.5867 GB, free: 77.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003944/1.324, allocations: 1.818 MB / 0.5884 GB, free: 76.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01243/1.336, allocations: 5.425 MB / 0.5937 GB, free: 73.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002606/1.339, allocations: 1.182 MB / 0.5949 GB, free: 73.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 9.52e-06/1.339, allocations: 0 / 0.5949 GB, free: 73.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=208): time 0.01882/1.358, allocations: 6.922 MB / 0.6016 GB, free: 70.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/1.358, allocations: 341.2 kB / 0.602 GB, free: 69.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004808/1.363, allocations: 2.153 MB / 0.6041 GB, free: 68.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004564/1.363, allocations: 64.83 kB / 0.6041 GB, free: 68.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/1.365, allocations: 1.931 MB / 0.606 GB, free: 67.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000777/1.366, allocations: 0.6967 MB / 0.6067 GB, free: 66.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/1.366, allocations: 53.75 kB / 0.6067 GB, free: 66.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/1.366, allocations: 400.9 kB / 0.6071 GB, free: 66.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/1.368, allocations: 1.033 MB / 0.6081 GB, free: 66.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002693/1.371, allocations: 1.787 MB / 0.6099 GB, free: 64.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/1.374, allocations: 1.317 MB / 0.6112 GB, free: 64.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/1.374, allocations: 5.625 kB / 0.6112 GB, free: 64.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.008612/1.382, allocations: 3.822 MB / 0.6149 GB, free: 62.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001688/1.384, allocations: 8.487 MB / 0.6232 GB, free: 53.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.967e-05/1.384, allocations: 20 kB / 0.6232 GB, free: 53.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003295/1.388, allocations: 1.013 MB / 0.6242 GB, free: 52.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/1.39, allocations: 479.6 kB / 0.6247 GB, free: 51.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/1.407, allocations: 14.13 MB / 0.6385 GB, free: 38.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/1.41, allocations: 176.6 kB / 0.6386 GB, free: 37.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004716/1.411, allocations: 103.1 kB / 0.6387 GB, free: 37.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.411, allocations: 4 kB / 0.6387 GB, free: 37.88 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007236/1.418, allocations: 3.549 MB / 0.6422 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.865e-05/1.418, allocations: 20 kB / 0.6422 GB, free: 34.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002967/1.421, allocations: 1.003 MB / 0.6432 GB, free: 33.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/1.423, allocations: 479.6 kB / 0.6436 GB, free: 33.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/1.44, allocations: 14.12 MB / 0.6574 GB, free: 19.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/1.443, allocations: 158.4 kB / 0.6576 GB, free: 19.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004702/1.444, allocations: 107.8 kB / 0.6577 GB, free: 19.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * 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 (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%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006517/1.445, allocations: 282.4 kB / 0.658 GB, free: 19.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/1.445, allocations: 288.5 kB / 0.6582 GB, free: 18.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007533/1.453, allocations: 3.223 MB / 0.6614 GB, free: 16.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/1.453, allocations: 20 kB / 0.6614 GB, free: 16.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.72e-06/1.453, allocations: 0 / 0.6614 GB, free: 16.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.455e-05/1.453, allocations: 14.22 kB / 0.6614 GB, free: 16.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.468, allocations: 7.031 MB / 0.6683 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.468, allocations: 0 / 0.6683 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.47, allocations: 281 kB / 0.6685 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003271/1.473, allocations: 1.031 MB / 0.6696 GB, free: 9.254 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003085/1.473, allocations: 55.59 kB / 0.6696 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2816/1.755, allocations: 11.7 MB / 0.681 GB, free: 82.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.184e-06/1.755, allocations: 3.641 kB / 0.681 GB, free: 82.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/1.766, allocations: 4.638 MB / 0.6856 GB, free: 81.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/1.768, allocations: 0.5971 MB / 0.6862 GB, free: 81.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009509/1.769, allocations: 60.55 kB / 0.6862 GB, free: 81.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002484/1.772, allocations: 130.6 kB / 0.6863 GB, free: 81.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008473/1.772, allocations: 232.2 kB / 0.6866 GB, free: 81.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002337/1.773, allocations: 61.08 kB / 0.6866 GB, free: 81.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004502/1.777, allocations: 1.637 MB / 0.6882 GB, free: 81.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.053e-06/1.777, allocations: 0 / 0.6882 GB, free: 81.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008741/1.786, allocations: 1.504 MB / 0.6897 GB, free: 81.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.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[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 (148): * Single equations (assignments): 140 * 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 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/1.787, allocations: 469.8 kB / 0.6901 GB, free: 81.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01386/1.801, allocations: 6.244 MB / 0.6962 GB, free: 79.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.801, allocations: 4.062 kB / 0.6962 GB, free: 79.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004994/1.806, allocations: 2.127 MB / 0.6983 GB, free: 79.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/1.81, allocations: 0.6165 MB / 0.6989 GB, free: 79.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.828, allocations: 6.448 MB / 0.7052 GB, free: 77.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00423/1.832, allocations: 2.919 MB / 0.7081 GB, free: 77.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006049/1.838, allocations: 1.041 MB / 0.7091 GB, free: 77.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/1.839, allocations: 138.1 kB / 0.7092 GB, free: 77.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.838e-06/1.839, allocations: 0 / 0.7092 GB, free: 77.14 MB / 442.7 MB Notification: Performance of Templates: time 0.126/1.965, allocations: 54.44 MB / 0.7624 GB, free: 63.26 MB / 442.7 MB