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 1.999/1.999, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.918e-05, allocations: 4 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08184/0.08189, allocations: 44.5 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3825/0.4644, allocations: 114.9 MB / 414.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.4647, allocations: 88.81 kB / 414.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3789/0.8436, allocations: 101.5 MB / 0.5043 GB, free: 3.656 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.719e-06/0.8436, allocations: 0 / 0.5043 GB, free: 3.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004414/0.8441, allocations: 103.9 kB / 0.5044 GB, free: 3.555 MB / 394.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.2518/1.096, allocations: 4.147 MB / 0.5084 GB, free: 54.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.096, allocations: 8.812 kB / 0.5084 GB, free: 54.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007419/1.103, allocations: 0.9528 MB / 0.5093 GB, free: 54.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/1.118, allocations: 3.912 MB / 0.5132 GB, free: 54.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000553/1.118, allocations: 479.2 kB / 0.5136 GB, free: 54.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001627/1.12, allocations: 407.6 kB / 0.514 GB, free: 54.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/1.136, allocations: 5.153 MB / 0.519 GB, free: 53.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/1.136, allocations: 8.375 kB / 0.519 GB, free: 53.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/1.137, allocations: 171.4 kB / 0.5192 GB, free: 53.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/1.138, allocations: 172.4 kB / 0.5194 GB, free: 53.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/1.15, allocations: 4.147 MB / 0.5234 GB, free: 53.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04057/1.191, allocations: 17.69 MB / 0.5407 GB, free: 49.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008706/1.199, allocations: 8.116 MB / 0.5486 GB, free: 44.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/1.203, allocations: 1.797 MB / 0.5504 GB, free: 44.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/1.216, allocations: 5.389 MB / 0.5556 GB, free: 42.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/1.219, allocations: 1.178 MB / 0.5568 GB, free: 41.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=173): time 8.193e-06/1.219, allocations: 0 / 0.5568 GB, free: 41.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=205): time 0.01885/1.237, allocations: 6.846 MB / 0.5635 GB, free: 38.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.238, allocations: 342 kB / 0.5638 GB, free: 38.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004665/1.242, allocations: 2.117 MB / 0.5659 GB, free: 37.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003973/1.243, allocations: 70.02 kB / 0.5659 GB, free: 37.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/1.244, allocations: 1.789 MB / 0.5677 GB, free: 36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008228/1.245, allocations: 0.6891 MB / 0.5684 GB, free: 35.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/1.245, allocations: 43.69 kB / 0.5684 GB, free: 35.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/1.246, allocations: 411.5 kB / 0.5688 GB, free: 35.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/1.248, allocations: 1.019 MB / 0.5698 GB, free: 34.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/1.251, allocations: 1.78 MB / 0.5715 GB, free: 33.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/1.253, allocations: 1.302 MB / 0.5728 GB, free: 32.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-05/1.253, allocations: 7.594 kB / 0.5728 GB, free: 32.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.008328/1.262, allocations: 3.669 MB / 0.5764 GB, free: 31.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001551/1.263, allocations: 7.771 MB / 0.584 GB, free: 23.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.292e-05/1.263, allocations: 18.66 kB / 0.584 GB, free: 23.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/1.267, allocations: 1.015 MB / 0.585 GB, free: 22.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/1.27, allocations: 467.5 kB / 0.5854 GB, free: 22.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/1.288, allocations: 14.13 MB / 0.5992 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/1.292, allocations: 179.3 kB / 0.5994 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005306/1.292, allocations: 102.2 kB / 0.5995 GB, free: 28.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.292, allocations: 5.781 kB / 0.5995 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008177/1.3, allocations: 3.577 MB / 0.603 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.866e-05/1.3, allocations: 18.94 kB / 0.603 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/1.304, allocations: 0.9883 MB / 0.604 GB, free: 26.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/1.306, allocations: 469 kB / 0.6044 GB, free: 26.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/1.326, allocations: 14.14 MB / 0.6182 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/1.328, allocations: 158.5 kB / 0.6184 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004309/1.328, allocations: 102.2 kB / 0.6185 GB, free: 15.38 MB / 410.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: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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 (261): * Single equations (assignments): 254 * 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.0007315/1.329, allocations: 281.2 kB / 0.6188 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/1.33, allocations: 276.4 kB / 0.619 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008176/1.338, allocations: 3.192 MB / 0.6221 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/1.338, allocations: 19.03 kB / 0.6222 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.194e-06/1.338, allocations: 0 / 0.6222 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.694e-05/1.338, allocations: 13.28 kB / 0.6222 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/1.356, allocations: 6.957 MB / 0.629 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-05/1.356, allocations: 3.781 kB / 0.629 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/1.357, allocations: 278.7 kB / 0.6292 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003455/1.361, allocations: 1.025 MB / 0.6302 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004102/1.361, allocations: 55.27 kB / 0.6303 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/1.382, allocations: 11.52 MB / 0.6415 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.794e-06/1.382, allocations: 7.938 kB / 0.6415 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.394, allocations: 4.606 MB / 0.646 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/1.396, allocations: 0.5813 MB / 0.6466 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.397, allocations: 70.34 kB / 0.6467 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002737/1.4, allocations: 126.4 kB / 0.6468 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008813/1.401, allocations: 233.8 kB / 0.647 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/1.401, allocations: 55.84 kB / 0.6471 GB, free: 9.582 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004523/1.405, allocations: 1.609 MB / 0.6486 GB, free: 8.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.156e-06/1.405, allocations: 3.75 kB / 0.6486 GB, free: 8.113 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009039/1.415, allocations: 1.504 MB / 0.6501 GB, free: 6.621 MB / 426.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.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[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 (146): * Single equations (assignments): 138 * 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 54,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/1.416, allocations: 476.7 kB / 0.6506 GB, free: 6.234 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01529/1.431, allocations: 6.295 MB / 0.6567 GB, free: 228 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.431, allocations: 2 kB / 0.6567 GB, free: 228 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2524/1.684, allocations: 2.304 MB / 0.659 GB, free: 79.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004292/1.688, allocations: 0.6119 MB / 0.6596 GB, free: 79.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/1.707, allocations: 6.335 MB / 0.6658 GB, free: 77.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005457/1.713, allocations: 2.849 MB / 0.6685 GB, free: 77.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.714, allocations: 190.8 kB / 0.6687 GB, free: 77.08 MB / 426.7 MB Notification: Performance of SimCode: time 2.258e-06/1.714, allocations: 0 / 0.6687 GB, free: 77.08 MB / 426.7 MB Notification: Performance of Templates: time 0.4573/2.171, allocations: 158.6 MB / 0.8236 GB, free: 93.61 MB / 442.7 MB